-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Dialog] 关闭弹窗口 body 锁定样式未正确移除 #484
Labels
🐞 bug
Something isn't working
Comments
👋 @leeenx,感谢给 TDesign 提出了 issue。 |
收到,今天会处理好发个版本 |
psaren
added a commit
to psaren/tdesign-react
that referenced
this issue
Mar 15, 2022
修复DialogPlugin关闭后滚动问题 fix Tencent#484
0.27.2 fixed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tdesign-react 版本
0.26.0
重现链接
No response
重现步骤
DialogPlugin 在弹窗的时候会向 body 插入一段 style 样式(overflow: hidden),然而在关闭弹窗的时候并没有回收这段代码,导致页面无法滚去。
期望结果
关闭弹窗后,body 上的内联样式恢复到原来的样子 。
实际结果
关闭弹窗后后,body 上仍然保留「overflow: hidden」
框架版本
React17.0.2
浏览器版本
99.0.4844.51
系统版本
MacOS(10.15.7)
Node版本
10.16.0
补充说明
No response
The text was updated successfully, but these errors were encountered: