Description
Environment
OS: macOS High Sierra 10.13.4
Node: 8.9.4
Yarn: 1.6.0
npm: 6.0.1
Watchman: 4.7.0
Xcode: Xcode 9.3.1 Build version 9E501
Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.55.0 => 0.55.0
Description
When using the non-default keyboard on Android, the onKeyPress event is not (or partly) fired.
For example, when using the numeric keyboard, pressing a number does not fire the event, but pressing the backspace does fire the event.
It works fine for the default keyboard, or on iOS
Steps to Reproduce
Issue can be seen with this snack: https://snack.expo.io/B1amtl3ym
Steps to reproduce:
- Add a TextInput
- Attach the onKeyPress event
- Put the keyboardType on numeric
- Log when you come into the onKeyPress callback
Expected Behavior
Call the onKeyPress callback when a key is pressed on the not default keyboard on android
Actual Behavior
onKeyPress callback is NOT called for a numeric keyboard. (for the digits)