Commit b4c25703 authored by Inside's avatar Inside Committed by island205

Select: fix initialInputHeight (#15989)

Select: fix initialInputHeight (#15989)
parent ca9a0330
...@@ -869,7 +869,8 @@ ...@@ -869,7 +869,8 @@
small: 32, small: 32,
mini: 28 mini: 28
}; };
this.initialInputHeight = reference.$el.getBoundingClientRect().height || sizeMap[this.selectSize]; const input = reference.$el.querySelector('input');
this.initialInputHeight = input.getBoundingClientRect().height || sizeMap[this.selectSize];
} }
if (this.remote && this.multiple) { if (this.remote && this.multiple) {
this.resetInputHeight(); this.resetInputHeight();
......
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