We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d7d24b commit c50e8ddCopy full SHA for c50e8dd
packages/select/src/select.vue
@@ -646,11 +646,12 @@
646
let inputChildNodes = this.$refs.reference.$el.childNodes;
647
let input = [].filter.call(inputChildNodes, item => item.tagName === 'INPUT')[0];
648
const tags = this.$refs.tags;
649
+ const tagsHeight = Math.round(tags.getBoundingClientRect().height);
650
const sizeInMap = this.initialInputHeight || 40;
651
input.style.height = this.selected.length === 0
652
? sizeInMap + 'px'
653
: Math.max(
- tags ? (tags.clientHeight + (tags.clientHeight > sizeInMap ? 6 : 0)) : 0,
654
+ tags ? (tagsHeight + (tagsHeight > sizeInMap ? 6 : 0)) : 0,
655
sizeInMap
656
) + 'px';
657
if (this.visible && this.emptyText !== false) {
0 commit comments