Hi folks, there is tab-navigation in compose deskt...
# compose-desktop
s
Hi folks, there is tab-navigation in compose desktop?
o
yes, it shall be available in today's build
👍 2
🎉 1
try
0.5.0-build262
o
That’s cool, but it doesn’t work for me… When I hit TAB it crashes with stack overflow. I don’t have any focusable items, if they need to be explicitly marked.
o
Thanks for report, looking, please provide issue with reproducer
s
And about arrow navigation @olonho? I also thinking about a game UI with Compose that needs to support controllers
o
Game UI probably be better done with explicit navigation
o
What is the problem with arrow nav? I ported snake to Android TV and it just worked with remote 🙂
r
In CFD, arrows are used to move the cursor in a TextField, so we cannot use arrows to navigate on focus, and there is currently no design on how to use directional focus navigation in such cases. Maybe it should be a keyboard shortcut (like arrows + alt) or arrows on the numeric keypad. But none of these solutions will help you with what you want. PS. Do I understand correctly that you need support for controllers like xbox controller/dual shock?
s
@Roman Sedaikin [JB] Yes, I'm not a game developer but with rising handheld consoles like the announced Steam Deck I'm looking towards building applications for this type of device.