Преглед изворни кода

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) {