Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input characters were not correct with IME Keyboard #66

Closed
ngocbnu213 opened this issue Sep 7, 2021 · 2 comments
Closed

Input characters were not correct with IME Keyboard #66

ngocbnu213 opened this issue Sep 7, 2021 · 2 comments

Comments

@ngocbnu213
Copy link

ngocbnu213 commented Sep 7, 2021

I faced a big trouble with Japanese keyboard. When I typed a single character, it seem to be double.
I think it related to IME string.

facebook/react#3926

On your demo https://yury-dymov.github.io/react-autocomplete-input/ I did not face to this problem.

My code did not have any thing specific
<TextInput Component="input" options={domains} value={mailAddress} onChange={handleChangeEmail} />

mailAddress is a props comes from mapStateToProp
handleChangeEmail will dispatch an action to reducer then update component again.

Do you have any idea about this case? How can I solve this problem?

Image.from.iOS.MOV
@ngocbnu213
Copy link
Author

ngocbnu213 commented Sep 13, 2021

I also faced to new problem with your demo. Let me explain.
As you can see, when I type some thing, helper list will be available. Then I select one of option, after I close alert and tap to somewhere, my IME string will be appear. Expected in this case that IME string should be displayed 2 times.

RPReplay_Final1631453819.mp4

@yury-dymov
Copy link
Owner

This might have something to do with regex prop. Likely overriding it with one, which supports Japanese encondings properly might help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants