I understand we shouldn't be using the `ModalBotto...
# compose
m
I understand we shouldn't be using the
ModalBottomSheetState
directly when using bottomSheet in the Navigation component. But is there any particular reason why the
skipHalfExpanded
param isn't present in
rememberBottomSheetNavigator()
It's pretty easy to get around this by just making yours using the same code:
Copy code
@Composable
public fun rememberBottomSheetNavigator(
    animationSpec: AnimationSpec<Float> = SpringSpec()
): BottomSheetNavigator {
    val sheetState = rememberModalBottomSheetState(
        ModalBottomSheetValue.Hidden,
        animationSpec = animationSpec
    )
    return remember(sheetState) { BottomSheetNavigator(sheetState) }
}
But can't we just get an overload or default param to let us modify
skipHalfExpanded
for the
rememberBottomSheetNavigator()
function too?