Skip to content

Commit

Permalink
[RN][macOS] Don't passthru key events that override Pressibilty api's
Browse files Browse the repository at this point in the history
Summary:
**Context**

Sync GH Change from RND OSS
[Don't passthru key events that override Pressibilty api's microsoft#1731](microsoft#1731)

**Change**

* Don't passthru key events that override Pressibilty api's

Test Plan:
|before|after|
| https://pxl.cl/2vqGM |https://pxl.cl/2vqFX|

Subscribers: generatedunixname89002005327315

Differential Revision: https://phabricator.intern.facebook.com/D43705649
  • Loading branch information
shwanton authored and Shawn Dempsey committed Mar 1, 2023
1 parent 3fb5867 commit 9538493
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Libraries/Components/Touchable/TouchableWithoutFeedback.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,6 @@ const PASSTHROUGH_PROPS = [
'onAccessibilityAction',
'onBlur',
'onFocus',
'onKeyDown',
'onKeyUp',
'validKeysDown',
'validKeysUp',
'onLayout',
Expand Down

0 comments on commit 9538493

Please sign in to comment.