mirror of
https://github.com/element-plus/element-plus.git
synced 2025-02-17 11:49:41 +08:00
fix(components): [select] click icon not respond (#6441)
This commit is contained in:
parent
ac89f5f4e1
commit
a4679050ea
@ -716,10 +716,10 @@ export const useSelect = (props, states: States, ctx) => {
|
||||
const handleFocus = (event) => {
|
||||
if (!states.softFocus) {
|
||||
if (props.automaticDropdown || props.filterable) {
|
||||
states.visible = true
|
||||
if (props.filterable) {
|
||||
if (props.filterable && !states.visible) {
|
||||
states.menuVisibleOnFocus = true
|
||||
}
|
||||
states.visible = true
|
||||
}
|
||||
ctx.emit('focus', event)
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user