Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(composition): do not submit when user is composing
"composing" is used on Japanese (and other CJK scripts) when typing on a qwerty or similar keyboard, showing something akin to autocomplete on iOS. You confirm a word by pressing enter, which shouldn't commit to a search. Still needs to be tested thoroughly, as it's possible we need to check isComposing earlier to prevent searching for the intermediate romanji characters. Fixes algolia/docsearch#1304 Fixes algolia/docsearch#1043
- Loading branch information