Pārlūkot izejas kodu

Select: fix incorrect popper updating when filterable

Leopoldthecoder 8 gadi atpakaļ
vecāks
revīzija
5e455f911f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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) {