diff --git a/packages/select/src/select.vue b/packages/select/src/select.vue index 8b7876143c8..7472d0fc4d9 100644 --- a/packages/select/src/select.vue +++ b/packages/select/src/select.vue @@ -869,7 +869,8 @@ small: 32, 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) { this.resetInputHeight();