Select: remove scrollToOption after selection (#10115)

pull/10123/head
杨奕 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
1 changed files with 1 additions and 0 deletions

View File

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