consider this : ` BottomSheetDialog( edgeToEdge ){ Box(modifier = Modifier.navigationBarPadding()) { content() } } `