https://kotlinlang.org logo
#compose
Title
# compose
s

Slackbot

11/29/2023, 8:22 PM
t

Talha Fakioglu

11/29/2023, 8:41 PM
Could this be related to https://stackoverflow.com/a/75191981
z

Zach Klippenstein (he/him) [MOD]

11/29/2023, 8:51 PM
Are you using adjustResize and disabling decorFitsSystemWindows?
p

Peter

11/29/2023, 8:54 PM
Yeah, I've tried both, no difference
Could this be related to
Not sure, seems similar, but the other way around. I'm not using a bottom sheet here.
z

Zach Klippenstein (he/him) [MOD]

11/29/2023, 9:11 PM
Or AnimatedContent? Including Jetpack navigation
p

Peter

11/29/2023, 10:10 PM
I'm using jetpack navigation yeah. There is some AnimatedVisibility in the fields, but I think it's not triggering. I can try removing that.
seems to be related to
Modifier.safeDrawingPadding()
. If I remove it, it fixes the problem.
I was doing this
Copy code
setDecorFitsSystemWindows(window, false)

        setContent {
            AppTheme {
                Surface(
                    Modifier
                        //.safeDrawingPadding()
                        .fillMaxSize(),
                ) {
                    MainNavigation()
                }
            }
        }
I presume this is a bug?
👍🏻 1
2 Views