Эх сурвалжийг харах

Select: update popper after options change

Leopoldthecoder 7 жил өмнө
parent
commit
7ae2662b7c

+ 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();
         }