You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 events
onKeyPress isn't fired
If the first character typed is a number, the events are correct
Moving the handlers to the input element behaves the same
The 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:
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.
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: