Select: remove scrollToOption after selection (#10115)

This commit is contained in:
杨奕 2018-03-11 16:19:59 +08:00 committed by GitHub
parent 22463fb404
commit c6e85dbd81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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