-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Description
Hi @kevinejohn,
I'm the maintainer of (react-native-hotkeys)[https://github.com/kingstinct/react-native-hotkeys]. Just pinging you to see bring the discussion up on how to best handle keyboard input for react-native in general, and see if we maybe can collaborate to bring as good a solution as possible to the community.
Comparison:
- In terms of platform support both libraries supports iOS,
react-native-keyeventsupports Android andreact-native-hotkeyssupport web in addition. Background here is that I'm more familiar with the Apple ecosystem (and web) than Android - and use my iPad Magic Keyboard every day. react-native-keyeventseems to listen for all key events,react-native-hotkeystake is more specific in it's listening, both which might have both pros and cons in terms of DX and performance.react-native-hotkeyssupports multiple listeners that are executed in the order they're rendered, overridable with priority and with possibility to set a defaultHandler (for example to navigate back on any unhandled Escapes).react-native-hotkeyssupports modifier keys as well as non-alphanumerical keys (arrows f ex). By quickly looking atreact-native-keyeventI guess it does so for Android but not iOS - is that correct?
squirelo and fdibQat
Metadata
Metadata
Assignees
Labels
No labels