fkhadra / fkhadra/react-contexify
Using arrow keys bindings in keyMatcher
Open
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 132
- PR merge metrics
- No merged PRs in 30d
Description
Using any of the four arrow keys (up, down, left, right) in a keyMatcher ([as per the docs](https://fkhadra.github.io/react-contexify/add-keyboard-shortcut)) does not prevent the arrow navigation inside the context menu.
A possible solution would be to prevent any arrow-key navigation when a meta key is pressed. Alternatively, arrow-key navigation could be disabled if any keyMatcher evaluates to true.
Contributor guide
Assessment
This issue has not been assessed yet.