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
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?
The text was updated successfully, but these errors were encountered:
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:
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?
The text was updated successfully, but these errors were encountered: