https://kotlinlang.org logo
#compose
Title
# compose
s

Steffen Funke

11/25/2021, 6:54 PM
Is it a known bug that on Samsung / Android 9 devices, when Talkback enabled, any Scrollable (
LazyColumn
,
scrollable
modifier) does not react to 2 finger scroll gestures at all? Easy reproducible with the very simplest
LazyColumn
demo (in Thread). I don’t experience this with other devices so far. Actually a dealbreaker for converting an existing App (which relies on accessibility) to compose, as I planned to 😞 Should I file a bug?
Simple Demo:
Copy code
fun SimpleLazyColumnDemo() {
    Column(modifier = Modifier.fillMaxSize()) {
        LazyColumn(
            modifier = Modifier
                .background(Color.Red.copy(0.3f))
                .fillMaxWidth(),
        ) {

            itemsIndexed(items) { index, item ->
                Text(
                    item, modifier = Modifier
                        .fillMaxWidth()
                        .padding(16.dp)
                )
                Divider()
            }
        }

    }
}
If anyone minds to test: on Samsung Device, Android 9 (don’t know about other versions), enable Talkback, then try scolling with 2 fingers.