2.0.6
macOS 10.13 Chrome 63.0.3239.84
2.5.9
select options to make that display in rows
Not shaking
Shaking just like the video shows
I cannot reproduce this. Please minify your project, upload it to GitHub, and open a new issue with it.
It's probably because Select Attributes adds filterable, and you make class (.el-select__input {
vertical-align: middle;
}) not vertical-align:middle, such as vertical-align: baseline; there will be shaking
v2.0.11 exist also.
And set an extra style .el-select__input { vertical-align: base }
as @heroljy commented, fixed.
In the latest version of the Chrome browser, I reproduce this. And set extra style does not work
add .el-select__input did not work, and some computer do not has this problem
官网可复现bug http://element.eleme.io/#/zh-CN/component/select
浏览器chrome 67.0.3396.99
滚轮缩放至90%
基础多选(Multi select),选中5个
可复现这个抖动bug
是的,90%的时候可以复现
element-ui v2.0.10版本, 多行且页面放大110%时抖动, 查看代码是el-select__tags的clientHeight计算结果不断变化导致的, 解决的方式比较hack, 直接修改 .el-tag--small{ height: 25px; }
element-ui v2.8.2版本遇到同样的问题,最新版本,官网可复现https://element.eleme.io/2.8/#/zh-CN/component/select
I solved this problem by adding style below, hope it helps
.el-select .el-input {
overflow: scroll;
padding-bottom: 1px;
}
@skyzhao1223
It seems pretty useful,I just add padding-bottom: 1px;
anyway thanks!
padding-bottom does not work for my environment
depend on your select number. or you can try padding-bottom: 2px;
有有效的解决办法吗
padding-bottom:1px does not work ,when i resize Chrome browser,the issue will appear.
@skyzhao1223
我也解决了,只加了.el-select .el-input { padding-bottom: 1px; }
Most helpful comment
element-ui v2.0.10版本, 多行且页面放大110%时抖动, 查看代码是el-select__tags的clientHeight计算结果不断变化导致的, 解决的方式比较hack, 直接修改 .el-tag--small{ height: 25px; }