Преглед на файлове

Select: fix incorrect popper updating when filterable

Leopoldthecoder преди 8 години
родител
ревизия
5e455f911f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      packages/select/src/select.vue

+ 1 - 1
packages/select/src/select.vue

@@ -239,7 +239,7 @@
 
       query(val) {
         this.$nextTick(() => {
-          this.broadcast('ElSelectDropdown', 'updatePopper');
+          if (this.visible) this.broadcast('ElSelectDropdown', 'updatePopper');
         });
         this.hoverIndex = -1;
         if (this.multiple && this.filterable) {