You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
preventDefault
on keyboard events to stop propagation to any currently focused componentThe text was updated successfully, but these errors were encountered: