I'm trying to implement keyboard navigation in Jetpack Compose.
Have a LazyColumn which contains some list elements as Row{} all the Row's are clickable and receive focus. What I'm trying to achieve is to scroll to next item in the list after reaching the bottom of the screen.
After pressing the DOWN arrow key / TAB key, the focus stops at the bottom of the screen and does not scroll down. Am I wrong to expect it to happen automatically ? Do we need to use key events and how can we use key events to support scrolling using keyboard with Jetpack Compose.
Code:
LazyColumn(
modifier = Modifier
.padding(horizontal = Spacing2X)
.padding(top = Spacing2X)
) {
items(SOME_LIST_HERE) {
Row(modifier = Modifier.clickable { }) {
Text(text = "")
}
}
}
Scenario Video: https://twitter.com/karan4c6/status/1479426842566094849