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.63.4npm ls react-native-macos: 0.63.37node -v: 15.14.0npm -v: 7.7.8yarn --version: -xcodebuild -version: 12.2
Issue
onKey (onKeyUp, onKeyDown etc) events on do not fire.
Steps to Reproduce
- Set up using docs
- Follow implementation in examples/KeyboardEventExample
<View
focusable={true}
enableFocusRing={true}
onKeyDown={e => console.log(e)}
onKeyUp={e => console.log(e)}
>
<Button
title={'Test button'}
onKeyDown={e => console.log(e)}
onKeyUp={e => console.log(e)}
/>
</View>
Expected Behavior
onKey events to fire
Actual Behavior
No events fired