Kevin van Mierlo
12/05/2025, 8:14 AMmodifier = Modifier
.padding(it)
.consumeWindowInsets(it),
Inside if I check with onConsumedWindowInsetsChanged it correctly says these are the consumed insets:
consumed insets: (Insets(left=0, top=0, right=0, bottom=0) + PaddingValues(0.0.dp, 0.0.dp, 0.0.dp, 114.0.dp))
However, I have a FloatingActionButton which uses the following modifier:
modifier = Modifier
.align(Alignment.BottomEnd)
.safeDrawingPadding()
.padding(all = 16.dp),
But it has too much padding. I think it also gives back the navigation bar padding which should be consumed by the tabbar. Anybody else experienced this? On the Android side the WindowInsets are working as expected. And before the version updates it was also working as expected. But maybe something changed I have overlooked?Kevin van Mierlo
12/05/2025, 11:01 AMChrimaeon
12/05/2025, 11:23 AMKevin van Mierlo
12/05/2025, 11:31 AM