Select: update input height in multiple mode

pull/7206/head
Leopoldthecoder 2017-09-23 22:39:46 +08:00
parent 9acdc8e4c3
commit 98fa352041
1 changed files with 1 additions and 1 deletions

View File

@ -522,7 +522,7 @@
if (!this.$refs.reference) return;
let inputChildNodes = this.$refs.reference.$el.childNodes;
let input = [].filter.call(inputChildNodes, item => item.tagName === 'INPUT')[0];
input.style.height = Math.max(this.$refs.tags.clientHeight + 6, sizeMap[this.size] || 40) + 'px';
input.style.height = Math.max(this.$refs.tags.clientHeight + 10, sizeMap[this.size] || 40) + 'px';
if (this.visible && this.emptyText !== false) {
this.broadcast('ElSelectDropdown', 'updatePopper');
}