ant-design-vue
ant-design-vue copied to clipboard
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
- [ ] I have searched the issues of this repository and believe that this is not a duplicate.
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设置宽度的影响
同样的问题,在最新的 v4.2.6 版本依然能复现。