Explorar o código

Select: update popper after options change

Leopoldthecoder %!s(int64=7) %!d(string=hai) anos
pai
achega
7ae2662b7c
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      packages/select/src/select.vue

+ 3 - 0
packages/select/src/select.vue

@@ -390,6 +390,9 @@
 
       options() {
         if (this.$isServer) return;
+        this.$nextTick(() => {
+          this.broadcast('ElSelectDropdown', 'updatePopper');
+        });
         if (this.multiple) {
           this.resetInputHeight();
         }