Skip to content

How to hide or change navigation bar overlay color in bottom sheets? #4730

@ehsannarmani

Description

@ehsannarmani

How to hide or change navigation bar overlay color in bottom sheets?

Screen_Recording_20250402_121923_TimeoutIssue.mp4

Im using it in jetpack compose:

                            ModalBottomSheet(
                                onDismissRequest = {
                                    sheetOpen.value = false
                                },
                                contentWindowInsets = { WindowInsets(0,0,0,0) },
                                containerColor = Color.Blue,
                            ) {
                                Text("text",modifier=Modifier.padding(vertical = 32.dp))
                            }

Edge to edge:

        enableEdgeToEdge(
            navigationBarStyle = SystemBarStyle.dark(
                scrim = Color.Transparent.toArgb()
            )
        )

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions