Davide Giuseppe Farella
02/16/2024, 6:42 AMandroidx.compose.ui.window.Dialog
but the overlay is not going till the edges of the screen ignoring the insets -even using decorFitsSystemWindows
-, but it stops before the area where the status and navigation bars are supposed to be (which are not, hence the immersive mode).
Any ideas?Davide Giuseppe Farella
02/16/2024, 6:47 AMAbstractComposeView
to the decor View, but it started to give some troubles in the latest Compose release, complaining that disposeComposition
should be called only once; so we’re trying to avoid such workaround and solve it in a proper wayAlex Vanyo
02/16/2024, 8:29 AMDavide Giuseppe Farella
02/16/2024, 8:35 AMDisposableEffect(dialog) {
dialog.show()
onDispose {
dialog.dismiss()
dialog.disposeComposition() // <== 💥
}
}
Alex Vanyo
02/16/2024, 8:40 AMDavide Giuseppe Farella
02/16/2024, 8:44 AMjava.lang.IllegalStateException
Release should only be called once
at androidx.compose.foundation.lazy.layout.LazyLayoutPinnableItem.release (LazyLayoutPinnableItem.kt:159)
I’m investigating our git history to check whether we introduced something strange on the consumer side. Do you have any clue of what could tickle this?Davide Giuseppe Farella
02/16/2024, 8:45 AMAlex Vanyo
02/16/2024, 8:51 AMdisposeComposition()
is causing an issueDavide Giuseppe Farella
02/16/2024, 8:58 AMAlbert Chang
02/16/2024, 9:00 AMusePlatformDefaultWidth = false
?Davide Giuseppe Farella
02/16/2024, 9:01 AMDavide Giuseppe Farella
02/16/2024, 5:12 PMDavide Giuseppe Farella
02/20/2024, 9:08 AM