Hello, I am currently working with accessibility m...
# compose-android
a
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
Copy code
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?
s
How does the focus behave currently? What does it focus when you press "up"?
a
@shikasd When I press the "up" key from element 0 the focus does not go to the header as you can see on the videos
s
That looks like a bug, please file an issue on bug tracker :)