Browse Source

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

tags/1.9.1
yangzheli 1 month ago
parent
commit
9b36059292
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      web/app/components/base/search-input/index.tsx

+ 1
- 1
web/app/components/base/search-input/index.tsx 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)}

Loading…
Cancel
Save