Open
Description
I have trouble writing into text field when hotkeys are enabled!
I am trying to achieve something like a Gmail style of keyboard shortcuts. So this is my current mapping:
- To move the pointer up of down a list of items - j for next item and k for the previous item
- For other items I have shortcuts like s for suspending, a for activate, x for delete, etc.
- To focus on the search box - /
- To unfocus (blur) from search box - esc
The component with search box and its hotkey definitions are used withing another component which has a list of items and hotkeys actions on that list.
Now when I press /, as expected focus goes to the search box. But then when I try to type something in the search box that has the letter s, then it enters s in search but along with that s for suspend is also executed.
How can I make sure hotkeys s, a, and x doesn't run when the search box is in focus?
Metadata
Assignees
Labels
No labels