-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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
onChange does not work well with IE11 at Japanese IME. in React 15.4.0 #8423
Comments
I am having the exact same issue. |
I solved this problem. I changed code this way 👇
|
I found a better way.
|
I'm facing same issue. This can be reproduced in v15.5.3. |
Here is a similar problem but a little different(not only for IE). Code to reproduce: https://codesandbox.io/s/determined-ritchie-pn0b4 It is setting the state after What I wonder now is whether the value state for input must be set in |
We've dropped IE from supported browsers in React 18 so this is unlikely to get fixed. |
Yes, controlled components must set it synchronously during onChange. |
I'm trying to make a simple text box component with a suggestion feature.
However, in IE 11, there is an event that the Japanese IME conversion arbitrarily decides (I did not press the Enter key ...).
I examined it a little by myself, but this seems to have occurred only in IE 11, it seems that it has not occurred in other browsers such as Chrome and old Ver such as IE 10.
React version is 15.4.0.
There seemed to be similar issues in the past(https://github.com/facebook/react/issues/7027), but that bug has already been fixed.
Is this another bug? Or maybe I do not like how to make it?
https://jsfiddle.net/mashimonator/u3b0f1xj/1/
The text was updated successfully, but these errors were encountered: