google / accompanist

A collection of extension libraries for Jetpack Compose
https://google.github.io/accompanist
Apache License 2.0
7.42k stars 597 forks source link

[Navigation Material] Status bar not scrimmed when bottom sheet is shown #1751

Closed MarijanGazica closed 7 months ago

MarijanGazica commented 8 months ago

Description When showing the bottom sheet with the code such as from the example, the bottom sheet scrim does not cover the status bar (such as in the screenshot). Apart from edgeToEdge, is there a good way of achieving the look that doesn't look like a bug?

Screenshot 2024-02-06 at 10 59 07

Steps to reproduce Run the sample code

Expected behavior

Screenshot 2024-02-06 at 13 14 55

The status bar is behind scrim, the same as when the native M3 bottom sheet is used:

ianhanniballake commented 7 months ago

With the release of Compose Material 1.7.0-alpha04, the Material team has added a new artifact: androidx.compose.material:material-navigation, which fully replaces Accompanist Navigation Material.

As such, we are closing all issues here on Accompanist and will be fully deprecating Accompanist Navigation Material in an upcoming release.

A number of issues were fixed as part of the migration, but if you're still seeing an issue, please file an issue with a sample project that reproduces your issue and the Material team will take a look.