TextInput.onKeyPress
: nativeEvent.key
is an empty string when a non-ASCII character is entered
#45199
Labels
Component: TextInput
Related to the TextInput component.
Issue: Author Provided Repro
This issue can be reproduced in Snack or an attached project.
Needs: Triage 🔍
Type: New Architecture
Issues and PRs related to new architecture (Fabric/Turbo Modules)
Description
When a non-ASCII character is entered in the
TextInput
component,onKeyPress
does not return properkey
value. This issue doesn't exist on old architecture.Steps to reproduce
npm run ios
TextInput
React Native Version
0.74.2
Affected Platforms
Runtime - iOS
Areas
Fabric - The New Renderer
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/pklatka/non-ascii-key-press-repro
Screenshots and Videos
NEW_ARCH.mp4
OLD_ARCH.mp4
The text was updated successfully, but these errors were encountered: