appandflow / appandflow/react-native-google-autocomplete
bug: TextInput does not properly support non-Latin languages (Japanese, Chinese, etc.)
- 主要語言
- TypeScript
- 星號
- 176
- 分支
- 35
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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
貢獻指南
評估
這個 Issue 還沒有評估資料。