Skip to content

Commit 9ff6af8

Browse files
committed
chore: various fixes
1 parent b4fec97 commit 9ff6af8

3 files changed

Lines changed: 337 additions & 146 deletions

File tree

packages/react-native/Libraries/Pressability/Pressability.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,8 @@ export default class Pressability {
577577
}
578578

579579
// [macOS
580-
const keyboardEventHandlers = {
580+
const keyboardEventHandlers =
581+
Platform.OS !== 'macos' ? null : {
581582
onKeyDown: (event: KeyEvent): void => {
582583
const {onKeyDown} = this._config;
583584
if (onKeyDown != null) {

0 commit comments

Comments
 (0)