https://kotlinlang.org logo
Title
z

Zoltan Demant

02/28/2023, 8:57 AM
I just realized that dialogs no longer dim the content behind/underneath them. Anyone else seeing the same behavior? Im on
1.4.0-beta02
currently.
I cant downgrade any further than
compose-material3 = '1.1.0-alpha06'
but seeing the same behavior with that release as well.
I think
compose = '1.4.0-beta01'
is the release that breaks this, at least Im able to recreate it in another project as well. If anyone else could verify, Ill post a bug report later in the evening!
c

chanjungskim

02/28/2023, 12:55 PM
I think no dim is the default in compose.
z

Zoltan Demant

02/28/2023, 1:00 PM
Was this changed? Ive used the dialogs since the early days of compose and they have always dimmed the content underneath for me! A bit too busy to dig through changelogs currently, but I havent seen anything week-to-week.
t

Tgo1014

02/28/2023, 1:22 PM
Isn't the
AlertDialog
that dims?
z

Zoltan Demant

02/28/2023, 1:32 PM
@Tgo1014 Ive tried both, same behavior both before & after. Ive reported it here, feel free to comment if you do decide to try it yourself as well.
⚠️ I was "lucky" to stumble upon this bug right before pushing code to production last week, so heres a PSA: if youre using dialogs, you may want to check that the content underneath them is still dimmed ⚠️ Theres a bug report with some additional details here.