Commit eb48974c authored by 好多大米's avatar 好多大米 Committed by GitHub

Cascader: fix a bug that makes the browser jitter in zoom mode (#21207)

parent 390264f5
......@@ -640,7 +640,7 @@ export default {
}
if (tags) {
const { offsetHeight } = tags;
const offsetHeight = Math.round(tags.getBoundingClientRect().height);
const height = Math.max(offsetHeight + 6, inputInitialHeight) + 'px';
inputInner.style.height = height;
this.updatePopper();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment