google/accompanist

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

reiarts opened this issue · 2 comments

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:

  • Android OS version: Android 11
  • Device: Emulator or Samsung Galaxy
  • Accompanist version: 1.4.1

Because you hide the statusBars but not navigationBars or systemBars

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.