Element UI version
2.13.0
OS/Browsers version
windows 10 / Chrome 80
Vue version
2.6.11
Reproduction Link
https://codepen.io/xuxiantao/pen/mdJMvxM
Steps to reproduce
- 点击button
- Ctrl Shift C选中dialog的modal层
What is Expected?
body出现样式保持不变
What is actually happening?
body出现padding-right: 17px
7条答案
按热度按时间zvokhttg1#
Translation of this issue:
Element UI version
2.13.0
OS/Browsers version
windows 10 / Chrome 80
Vue version
2.6.11
Reproduction Link
https://codepen.io/xuxiantao/pen/mdJMvxM
Steps to reproduce
What is Expected?
Body appearance style remains unchanged
What is actually happening?
The body appears padding right: 17px
a11xaf1n2#
same issue
ljsrvy3e3#
set "lock-scroll" to false, it works for me.
ohfgkhjo4#
@selbest Thanks a lot! The "padding-right" looks like to fix the flash when using "lock-scroll" (when the scroll bar disappears), but sometimes the 'lock-scroll' doesn't work. And today it works normally. It really confuses me.
cygmwpex5#
same issue
wyyhbhjk6#
set "lock-scroll" to false, it works for me.
work for sure, but scroll bar still...
wmtdaxz37#
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.