view-design / ViewUI

A high quality UI Toolkit built on Vue.js 2.0
https://www.iviewui.com/
Other
2.65k stars 797 forks source link

[Bug Report]model sticky 指定宽度后显示不正确 #984

Open daLeiStrive opened 3 years ago

daLeiStrive commented 3 years ago

Environment

版本4.0

Reproduction link

https://run.iviewui.com/OworJ3Ru

Steps to reproduce

1.设置sticky 属性 2.设置宽度属性 3: 打开弹框

What is expected?

比如我设置的宽度是40,那么打开的宽度应该是40%

What is actually happening?

打开的默认宽度是是40%的$40% 拖动后才会变成正确的40%