Trigger hotkey only when target is hovered #5745
-
Environment
Feature requestSetting ExamplesI am building an interface with a lot of panes. All panes have the same hotkey combos, but these combos trigger different callbacks depending on the pane. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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. |
Beta Was this translation helpful? Give feedback.
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.