+ keyboard arrow navigation between focusable items? I can't see anything, but wanted to check if I'm missing something. I want to be able to press the up/down arrows to move focus between items in the LazyColumn
a
Alexander Maryanovsky
06/10/2024, 6:59 PM
Tab navigation does that, and you can also do it, via
FocusManager.moveFocus(FocusDirection.Next)
r
rob42
06/11/2024, 8:58 AM
Thanks for confirming. Looks like I'll have to wire up arrow keys to manually invoke the focus manager. I was just curious if there was any automatic support for this within lists, e.g. like you'd get with an NSTableView in AppKit
rob42
06/12/2024, 9:41 AM
After exploring this, I've discovered that moving focus will only move between visible items, seemingly because of the virtualisation that LazyColumn provides.
I'm quickly learning that unfortunately focus + LazyColumn/Row is a real weak spot for compose.