forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 151
Closed
Labels
Description
Environment
react-native -v: 0.68.57-microsoft.0
npm ls react-native-macos: 0.68.57
node -v: v16.17.1
npm -v: 8.15.0
yarn --version: 1.22.19
xcodebuild -version: Xcode 14.1 Build version 14B47bSteps to reproduce the bug
- Go to System Settings and enable Keyboard Navigation:
-
In RNTester, go to the Pressable page
-
Press the Tab key to move the focus ring to a Presable
-
Press Return key or Space bar
Expected Behavior
Pressing Return or Space should trigger the press of the Pressable
Actual Behavior
The system Beep chimes and no press event is triggered

Reproducible Demo
No response
Additional context
This is a regression starting in .68.
.68 introduced the validKeysDown prop. It seems like Touchable and Pressable should have "enter" and "space" on by default.
