Skip to content

defineShortcuts limit shortcut to a specific element #4165

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
J-Michalek opened this issue May 16, 2025 · 0 comments · May be fixed by #4169
Open

defineShortcuts limit shortcut to a specific element #4165

J-Michalek opened this issue May 16, 2025 · 0 comments · May be fixed by #4169
Labels
enhancement New feature or request triage v3 #1289

Comments

@J-Michalek
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage v3 #1289
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant