is there a decent tree component that supports key...
# compose-desktop
j
is there a decent tree component that supports keyboard navigation and scrolling to a selected entry?
r
I didn't find one when I looked. Had to roll my own. There are some tricky implementation details with scrolling to selected items, because you typically want to pin the selection near the top/bottom edges based on the direction of travel. BringIntoViewRequester also doesn't work on lazy lists, which would have been ideal if it did.
j
That's basically what's glitching on my home brew tree.. and randomly it loses keyboard focus. 😅 I'm also p new to both Kotlin and Compose and feel like rolling my own tree component is a bit too deep end for me right now.