Skip to content

Trigger hotkey only when target is hovered #5745

Answered by adidahiya
alexisthual asked this question in Q&A
Discussion options

You must be logged in to vote

I think you could implement this behavior inside your hotkey event handler. Track which element is being hovered over in your application state, and react accordingly. There's no great way for the Blueprint hotkeys code to do this out of the box in the same way that global/local hotkeys are supported with element focus & the native event bubbling system.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by adidahiya
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #5094 on November 09, 2022 20:15.