-
Notifications
You must be signed in to change notification settings - Fork 97
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
Enter key not triggered #52
Comments
I found a work around to fix this. Generally it seems to be related to a change in react-native itself that causes other components to capture the 'enter' keyevent. In MainActivity.java use dispatchKeyEvent to capture the enter key before it can be intercepted from any other listener:
If someone needs full control over key events dispatchKeyEvent would be generally the method to use. |
@matthiasleitner thx, this needs to be in the docs
|
Hi,
I am seeing the following issue: react-native-keyevent has been working flawlessly with react-native 0.59 and an early version of react-navigation. I have now upraded to 0.63 and react-navigation 4.4.0. No react-native-key-event stops sending newline characters as soon as the screen is touched.
Any ideas why this would happen?
The text was updated successfully, but these errors were encountered: