UMG: tab focusing widget

I have a widget setup as my UI in UMG to display some basic stats. I’m attempting to bind the Tab key to another action but when I press tab it keep focusing the UMG widget for my UI. Is this working as intended? Is there a way to stop it from focusing the widget?

Got an answer on the forums so I’ll copy it here:

“Open up the user widget, click on [Root], uncheck keyboard focusable - I think that’s what’s causing it to try and handle the Tab key.”

  • NickDarnel

Fixed the issue

Works fine except for TextBox. Even if its root is non-focusable, the TextBox can.
Any idea on how to disable it?

isn’t text box the one that accepts user input? You may need the other one, the static text, otherwise I’m not sure how to disable focus on a component made for focus/user input

Yeah but you don’t always want tab to do it. In my game the input is triggered with enter, I want to disable tab. No idea how to.

Hey,

Same problem here, my widgets are writable so i can’t juste make them kb-unfocusable, but i still want to disable the tab-switch and use tab for something else.

Any solution yet ?

Cedric

See Nick’s comment here: UMG: How to disable TAB and Keyboard Nav keys ?? - Blueprint Visual Scripting - Unreal Engine Forums

You could disable the text box and enable it when the chat is activated or you want the player to write in it, and then disable again on commit.

This fixed it for me.