-
Notifications
You must be signed in to change notification settings - Fork 46.4k
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
Key events in Chrome for Android #4079
Comments
React 0.13.3 fwiw |
Seems like this is a limitation/bug in Chrome: https://code.google.com/p/chromium/issues/detail?id=118639 Seems pretty crazy that the keyboard events deviate from the behavior of pretty much every other platform, but I guess that's not React's cross to bear. |
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I must be missing something pretty trivial, but I can't get key handler events working in Android Chrome. Here's a jsfiddle that reproduces the behavior I'm seeing: https://jsfiddle.net/waLcu83e/1/
Everywhere but Android Chrome I get the desired results when typing in the input:
On Android the events are different/wrong:
ev.which
is 229 (or 0 on some devices) for all the eventsonKeyPress
isn't firedThe stock browser in the emulator seems to work fine, iOS, etc as well. Like I said, I imagine there must be some simple mistake but I sure don't see what it is
The text was updated successfully, but these errors were encountered: