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 69fa9dc commit a0f513aCopy full SHA for a0f513a
packages/select/src/select.vue
@@ -646,7 +646,7 @@
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);
+ const tagsHeight = tags ? Math.round(tags.getBoundingClientRect().height) : 0;
650
const sizeInMap = this.initialInputHeight || 40;
651
input.style.height = this.selected.length === 0
652
? sizeInMap + 'px'
0 commit comments