appandflow / appandflow/react-native-google-autocomplete
bug: TextInput does not properly support non-Latin languages (Japanese, Chinese, etc.)
- Linguagem predominante
- TypeScript
- Estrelas
- 176
- Forks
- 35
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Description:
When using TextInput with languages that require an IME (e.g., Japanese or Chinese), input events are debounced even before the text is confirmed. This causes issues where incomplete words trigger updates prematurely.
Expected behavior:
The debounce function should wait until the IME input is confirmed (i.e., after compositionend) before triggering updates.
Actual behavior:
Debounce fires immediately, leading to incomplete or unintended input processing.
for example
Each character is triggering the event when typing, for example, “東京” (Tokyo).
Ideally, the search should be triggered only after the full input “tokyo” is converted to “東京”.
https://github.com/user-attachments/assets/e802de10-7c11-4639-99d0-e88b89300be0
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.