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

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)}