You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After setting the width of the body, when the window.visualviewport is smaller than the width of the body, the positioning of the Slider component will be inaccurate
#4542
Open
1 task
chenjian0915 opened this issue
Aug 18, 2021
· 0 comments
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
给body设置宽度后 当可视视口宽度小于body宽度时,Slider组件的定位会不准确,不知道这算不算问题
After setting the width of the body, when the width of the visible viewport is smaller than the width of the body, the positioning of the Slider component will be inaccurate, I don’t know if this is a problem
Aug 18, 2021
chenjian0915
changed the title
After setting the width of the body, when the width of the visible viewport is smaller than the width of the body, the positioning of the Slider component will be inaccurate, I don’t know if this is a problem
After setting the width of the body, when the window.visualviewport is smaller than the width of the body, the positioning of the Slider component will be inaccurate
Aug 18, 2021
Version
1.7.7
Environment
系统版本浏览器版本无关,Vue version 2.6.14
Reproduction link
https://www.antdv.com/components/slider-cn/
Steps to reproduce
首先我不确定是否贵团队知道这个问题或者就是如此设计:
上面的重现链接是Slider的文档,只要在控制台中给body设置一个宽度1200px,视口宽度小于1200px Slider 点击百分比就会有问题
What is expected?
贵团队如果知道这个问题或者就是如此设计,那就请忽略本条issue;如果不是的话希望Slider滑动不要受到body设置宽度的影响
What is actually happening?
Slider滑动受到body设置宽度的影响
The text was updated successfully, but these errors were encountered: