BottomModalLayout OnDismiss is closing on clicking outside the scrim


    val scope = rememberCoroutineScope()
    val sheetState = rememberModalBottomSheetState(
        skipPartiallyExpanded = true,
        confirmValueChange = {
            it == SheetValue.Expanded
        }
    )
    val is_open = remember { mutableStateOf<Boolean>(false) }
    if(!is_open.value) {
        ModalBottomSheet(
            onDismissRequest = {
            },
            dragHandle = null,
            sheetState = sheetState,
            modifier = Modifier.wrapContentSize(),
            containerColor = Color.White,
            properties = ModalBottomSheetProperties(
                shouldDismissOnBackPress = false
            ),
            scrimColor = Color.Black.copy(alpha = 0.6f)
){}

need to stay in screen on toucing scrim

You’re probably better off posting this on a specific Android forum, or joining the Kotlin Slack and posting it in the Android channel there.