appandflow / appandflow/react-native-google-autocomplete

bug: TextInput does not properly support non-Latin languages (Japanese, Chinese, etc.)

未關閉
#58 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
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 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。