Select: fix click icon triggering dropdown (#21314)

pull/21331/head
dennyak47 2021-09-16 14:29:36 +08:00 committed by GitHub
parent 50a464ea55
commit 95445e209f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -565,10 +565,10 @@
handleFocus(event) {
if (!this.softFocus) {
if (this.automaticDropdown || this.filterable) {
this.visible = true;
if (this.filterable) {
if (this.filterable && !this.visible) {
this.menuVisibleOnFocus = true;
}
this.visible = true;
}
this.$emit('focus', event);
} else {