appandflow / appandflow/react-native-google-autocomplete

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

Đang mở
#58 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
176
Fork
35
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.