Commit 88ef37f5bb9633e03ef85b1a400138d26d67d128

Authored by Aresn
Committed by GitHub
1 parent 06a74f9e

fixed in multiple type, wrong position of popper

fixed in multiple type, when select some options, the position of popper not recalculation, so the position is wrong. By the way, it resolve the problem: when select one option, scroll page, throw many errors of popper.
Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
src/components/select/select.vue
... ... @@ -549,6 +549,7 @@
549 549 const inputField = this.$el.querySelector('input[type="text"]');
550 550 if (!this.autoComplete) this.$nextTick(() => inputField.focus());
551 551 }
  552 + this.broadcast('Drop', 'on-update-popper');
552 553 },
553 554 onQueryChange(query) {
554 555 this.query = query;
... ...