How to disable Tab key navigation on widgets (to use this key for custom input action), but keep arrow navigation?

I want to use the tab key to cycle focus between buttons in different sections on my quest log (cycle between the first entry of primary tasks and first entry of secondary tasks), while keeping the default navigation behavior of arrow keys.

I created a custom input action for the tab key in my player controller that triggers the function to cycle task sections, but it doesn’t work. pressing tab overrides my input action and navigates to the next button (default UMG behavior)

how to supress this default Tab key behavior, while keeping default arrow keys behavior, and having my custom tab key input working?

1 Like

Ended up having to override “OnPreviewKeyDown” to execute the cycle function when the key pressed is tab. It’s a shame that I can’t use my InputAction, for example if I add an option allowing the playet to switch key assignments with the enhanced input system, I’d have to manually add some more code to disable this override if the player changes Cycle function key from tab to anything else.

But at least it works