fix(components): [picker] fix popup not opening when editable is false (#18767)

This commit is contained in:
DDDDD12138
2024-11-05 11:32:35 +08:00
committed by GitHub
parent 70b5d4fa9d
commit fe881ff337

View File

@@ -238,7 +238,7 @@ let hasJustTabExitedInput = false
const { isFocused, handleFocus, handleBlur } = useFocusController(inputRef, {
beforeFocus() {
return !props.editable || props.readonly || pickerDisabled.value
return props.readonly || pickerDisabled.value
},
afterFocus() {
pickerVisible.value = true