AmrJyniat
11/25/2021, 5:04 PMModalBottomSheetLayout
, when swipe it to the bottom to collapse it, it stops on Half Expand state and I need to swipe it again to collapse it totally, any idea?AmrJyniat
11/25/2021, 5:05 PMval bottomState = rememberModalBottomSheetState(
...
confirmStateChange = { stateValue ->
stateValue != ModalBottomSheetValue.HalfExpanded
}
)
it's work but you need to swipe it after Half expand anchor to collapse, otherwise will return to full expand.