Explorar el Código

Tooltip: invoke 'doDestory' manually when disabled (#10498)

blackmiaool hace 7 años
padre
commit
cdb7a34136
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      packages/tooltip/src/main.js

+ 4 - 0
packages/tooltip/src/main.js

@@ -191,6 +191,10 @@ export default {
         clearTimeout(this.timeoutPending);
       }
       this.showPopper = false;
+
+      if (this.disabled) {
+        this.doDestroy();
+      }
     },
 
     setExpectedState(expectedState) {