From b8037cd6dc567091338a8581c162b8830567d042 Mon Sep 17 00:00:00 2001 From: Ivan Matkov Date: Wed, 10 Jul 2024 16:20:20 +0200 Subject: [PATCH] Fix `ModalBottomSheet` safe area usage --- .../kotlin/androidx/compose/material3/ModalBottomSheet.skiko.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/ModalBottomSheet.skiko.kt b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/ModalBottomSheet.skiko.kt index a1b63d0e933fb..10c665eac1bda 100644 --- a/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/ModalBottomSheet.skiko.kt +++ b/compose/material3/material3/src/skikoMain/kotlin/androidx/compose/material3/ModalBottomSheet.skiko.kt @@ -63,6 +63,7 @@ internal actual fun ModalBottomSheetDialog( properties = DialogProperties( dismissOnBackPress = properties.shouldDismissOnBackPress, usePlatformDefaultWidth = false, + usePlatformInsets = false, scrimColor = Color.Transparent, ), content = content