Explorar el Código

Select: remove scrollToOption after selection (#10115)

杨奕 hace 7 años
padre
commit
c6e85dbd81
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      packages/select/src/select.vue

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

@@ -644,6 +644,7 @@
           this.visible = false;
         }
         this.$nextTick(() => {
+          if (this.visible) return;
           this.scrollToOption(option);
           this.setSoftFocus();
         });