google / accompanist

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

When view the dialog in Compose Immersive mode, the system bar appears. #1720

Closed reiarts closed 9 months ago

reiarts commented 9 months ago

Describe the bug

Since System UI Controller is deprecated, Immersive mode was implemented using WindowCompat and insertsController.

image image

When open the dialog, you will see the bottom system bar.

image image

Is there a way to hide the bottom system bar when the dialog is displayed?

Environment:

Nek-12 commented 9 months ago

Because you hide the statusBars but not navigationBars or systemBars

ianhanniballake commented 9 months ago

You'll want to file an issue on the issue tracker for any Dialog related issues you may run into since this behavior doesn't depend on Accompanist at all.