Hi Guys, I’m new to compose, could you please help me out here: It’s about content padding from wind...
s
Hi Guys, I’m new to compose, could you please help me out here: It’s about content padding from window insets. I use this, to add a padding between the bottom system navigation (inset) and the content in a BottomSheet:
Copy code
Column {
    Spacer(modifier = Modifier.height(8.dp))
    Spacer(Modifier.windowInsetsBottomHeight(WindowInsets.safeDrawing))
}
I use the BottomSheetLayout, and it appears until a recompose happens that it uses 2x of the insets that it supposed to. Not sure what I’m doing wrong here. Can you help me out, here is a screenshot and a video. Lib versions:
Copy code
androidxCompose = "1.2.1"
androidxComposeCompiler = "1.3.1"
androidxComposeMaterial3 = "1.0.0-alpha13"
androidxComposeMaterial = "1.2.1"
j
Please file an issue with a repro project here: https://issuetracker.google.com/issues/new?component=742043
a
Did you file an issue for this? I'm having the same issue 10 months later.