Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
Select: fix click icon triggering dropdown (ElemeFE#21314)
Browse files Browse the repository at this point in the history
  • Loading branch information
dennyak47 authored and CarterLi committed Nov 19, 2021
1 parent 3d42dc6 commit 3146dc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/select/src/select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -580,10 +580,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 {
Expand Down

0 comments on commit 3146dc4

Please sign in to comment.