Description
- Review the documentation: https://facebook.github.io/react-native
- Search for existing issues: https://github.com/facebook/react-native/issues
- Use the latest React Native release: https://github.com/facebook/react-native/releases
Environment
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: x64 Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz
Memory: 405.82 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.12.0 - /usr/local/bin/node
Yarn: 1.10.1 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
iOS SDK:
Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
IDEs:
Android Studio: 3.0 AI-171.4443003
Xcode: 10.0/10A255 - /usr/bin/xcodebuild
npmPackages:
react: 16.5.0 => 16.5.0
react-native: 0.57.4 => 0.57.4
Description
In iOS, when the text dictation ends, onKeyPress
event is called for unknown reason.
- The
onKeyPress
event returnBackspace
key which interfere with our text input logic. - The event with that key doesn't actually delete a letter.
Please consider removing it, thank you~!
Reproducible Demo
Somehow it must test on device instead of appetize for the demo to work.
https://snack.expo.io/@elliscwc/onkeypress-after-dictation