Daniels Šatcs
10/23/2020, 9:44 PM@Composable
fun drawer() {
val scrollState = rememberScrollState()
Scaffold(
drawerContent = {},
) {
ScrollableColumn(scrollState = scrollState) {
1.until(1000).forEach {
Text(modifier = Modifier.padding(8.dp).fillMaxWidth(), text = it.toString())
}
}
}
}
For some reason scrolling the list right after the drawer is closed does not seem to work. Waiting half a second before scrolling works, but that's not how a user would expect it to behave.
My guess is that the drawer's scrim is blocking the touch events from coming through. Is this a known issue or is this in any way the intended behavior? Attaching a videoAlexandre Elias [G]
10/24/2020, 12:03 AM