Giang
04/26/2023, 8:26 AMModalBottomSheetLayout(
...
sheetContent = {
...
AnimatedVisibility(visible = visible, exit = shrinkOut()) {
Button(
onClick = {},
text = "Text",
modifier = Modifier.height(300.dp),
...
)
}
...
},
modifier = modifier,
) {}
Oleksandr Balan
04/26/2023, 9:16 AMFixed an issue wherewould crash in an edge case on orientation change. Layout animations (e.g.ModalBottomSheetLayout
) in/on the sheet content now work smoothly.Modifier.animateContentSize
Giang
04/26/2023, 11:05 AMGiang
04/27/2023, 5:40 AM