defineShortcuts
limit shortcut to a specific element
#4165
Labels
defineShortcuts
limit shortcut to a specific element
#4165
Description
Add option to require a specific element to be hovered to trigger a shortcut.
Additional context
In my experience I often found it useful to limit the scope of a shortcut to specific element so that the user has to hover over the element and press so key/combination of keys.
A good example could be a list of items that each has its own shortcut that will open it's detail drawer, modal... but only if the mouse is hovering the item in the list.
I would like to implement this feature if it sounds interesting.
The text was updated successfully, but these errors were encountered: