Mi Re
11/08/2025, 11:33 AMModalBottomSheet(
onDismissRequest = onDismissRequest,
dragHandle = {}
) {
Box(modifier = Modifier.fillMaxSize().background(...)) {
AnimatedContent(content) {
// switches between different screens, one has LazyColumn
LazyColumn(modifier = Modifier.fillMaxSize()) {
// scrollable content
}
}
}
}
Tried: NestedScrollConnection with onPreScroll/onPostScroll consuming scroll when not at top, tracking scroll state with LaunchedEffect + canScrollBackward, applying nestedScroll to both Box and LazyColumn.
Any ideas? 🙏Rey (Kingg22)
11/08/2025, 2:00 PM