Don't depend on isFullKeyboardAccessEnabled
for keyboard focus
#1007
Labels
bug
Something isn't working
isFullKeyboardAccessEnabled
for keyboard focus
#1007
Environment
Steps to reproduce the bug
Currently setting
focusable
on a View only works if you have a specific system preference enabled. This also blocks keyboard events (onKeyDown/onKeyUp
) from happening. This is pretty unknown and slightly annoying. Let's fix this by simply removing the check on this linereact-native-macos/React/Views/RCTView.m
Line 1393 in 278d1b6
See https://microsoft.github.io/apple-ux-guide/KeyboardFocus.html
Expected Behavior
Keyboard events and keyboard focus work without having to know about the system preference.
Actual Behavior
Keyboard events and keyboard focus don't work at all without that preference.
Reproducible Demo
Go to the keyboard events page of RNTester.
Additional context
No response
The text was updated successfully, but these errors were encountered: