TextInput's onKeyPress is not working on Android 13 #34496
Labels
Component: TextInput
Related to the TextInput component.
Needs: Triage 🔍
Platform: Android
Android applications.
Stale
There has been a lack of activity on this issue and it may be closed soon.
Description
With Android 13, TextInput's
onKeyPress
does not respond except for the backspace key.The "Steps to reproduce" shown below did not work correctly
onKeyPress
on Android 13, butonKeyPress
worked fine on Android 11 (A002SO).Version
0.69.4
Output of
npx react-native info
Steps to reproduce
npm i -g @react-native-community/cli
npx react-native init MyProject --template "react-native-template-typescript@6.11.8"
cd MyProject
npm i
npm run start
npm run android
in another terminalTextInput
fieldAlso, when I changed
buildToolsVersion
etc inandroid/build.gradle
to33
,onKeyPress
did not work correctly and did not show any logs.Snack, code example, screenshot, or link to a repository
I have filled in the "Steps to reproduce" with the environment and code samples.
The text was updated successfully, but these errors were encountered: