Hello, I am currently working with
accessibility mode in Jetpack Compose for Android TV. I have noticed that in my code, the focus is
not working well for the first item in each TvLazyRow, especially when navigating with the up key.
For example, when I am on the
second TvLazyRow and press the up key on the first item (index 0), I expect the focus to move to the
first TvLazyRow and its first item (index 0), but it doesn't work as expected
but if the number of items in the TvLazyRow is equal to the visible Items - 1, it works perfectly
TvLazyColumn(modifier = Modifier.fillMaxSize()) {
items(5) {
TvLazyRow {
items(10) {
Button(onClick = { /*TODO*/ }) {
Text(text = "Hello World!")
}
}
}
}
}
Could you please suggest a solution to help me fix this issue?