mirror of https://github.com/ElemeFE/element
Select: fix click icon triggering dropdown (#21314)
parent
50a464ea55
commit
95445e209f
|
@ -565,10 +565,10 @@
|
||||||
handleFocus(event) {
|
handleFocus(event) {
|
||||||
if (!this.softFocus) {
|
if (!this.softFocus) {
|
||||||
if (this.automaticDropdown || this.filterable) {
|
if (this.automaticDropdown || this.filterable) {
|
||||||
this.visible = true;
|
if (this.filterable && !this.visible) {
|
||||||
if (this.filterable) {
|
|
||||||
this.menuVisibleOnFocus = true;
|
this.menuVisibleOnFocus = true;
|
||||||
}
|
}
|
||||||
|
this.visible = true;
|
||||||
}
|
}
|
||||||
this.$emit('focus', event);
|
this.$emit('focus', event);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue