Open
Description
Introduction
As React-Native starts expanding to more platforms, namely macOS and Windows, the support for more keyboard events is needed
Details
To be more concrete, I'm currently trying to create a autocomplete textfield, the UI part is no problem, however, when trying to interact via keyboard events react-native simply allows no way to achieve this functionality.
Adding support for more keyboard events, either global shortcuts or on specific components (like TextInput) is, I believe, necessary.
I've created an issue on the react-native-macos repo, but since this is not implemented base rn, it doesn't seem like it will get implemented anytime soon.
Discussion points
- Expand the range of currently fired events on the onKeyPress handler
- Add the ability to call
preventDefault
on keyboard events to stop propagation to any currently focused component - Adding support for global shortcuts
Metadata
Metadata
Assignees
Labels
No labels