fix(search-input): ensure proper value extraction in composition end handler (#26147)

This commit is contained in:
yangzheli 2025-09-24 15:53:59 +08:00 committed by GitHub
parent a4acc64afd
commit 9b36059292
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ const SearchInput: FC<SearchInputProps> = ({
}}
onCompositionEnd={(e) => {
isComposing.current = false
onChange(e.data)
onChange(e.currentTarget.value)
}}
onFocus={() => setFocus(true)}
onBlur={() => setFocus(false)}