fkhadra / fkhadra/react-contexify

Using arrow keys bindings in keyMatcher

Open
#250 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.