Tab button input gets consumed in play mode
Branch
staging
Describe the bug
It seems like that the tab button input is getting consumed by something else even if the play window is focused.
For example, if I press tab ingame, it should show the inventory screen in my game, instead it does nothing. I'm forced to press it twice in order for it to register. I have a feeling what is happening is that it's tabbing through the various editor windows in the background. If I continue pressing tab (even though I never click out or lose focus of the play window), it ends up selecting the console text input fields.
To Reproduce
Gain access to the MSC repo
- Load ingame
- Press tab (notice that the inventory screen sometimes doesn't pop up and requires a second tab press)
Expected behavior
The tab key shouldn't be getting consumed by some other input in the background.
Media/Files
No response
Additional context
No response
Is this fixed? seems okay for me
Is this fixed? seems okay for me
Still happening for me on staging
Yeah something is fishy with Tab, though for me it doesn't simply take 2 presses to trigger.
In a minimal project I couldn't find an issue until I added UI with pointer-events: all, then Tab would send keyboard input focus into the editor windows.
Similar with Sausage Survivors 2, if I press tab I can't move with keyboard anymore until I click the game window
Is this fixed? seems okay for me
Yes, partially, however, when I press tab now it unfocuses my window. For reference, the UI element that pops up when I press tab has pointer-events: all.
fixed