Adding `WindowCompat.setDecorFitsSystemWindows(win...
# compose
k
Adding
WindowCompat.setDecorFitsSystemWindows(window, false)
in latest compose version seems to add additional vertical padding to my screens. Anyone experienced same issue?
Might be that it's related to scaffold, and I have to add to a child component.
Copy code
Modifier.consumedWindowInsets(paddingValues)
        .imePadding()
t
They updated most of the components to have a `windowInsets`parameter with a default of using them. You can pass
Copy code
windowInsets = WindowInsets(0, 0, 0, 0)
on the cases where you want to handle it yourself.
c
Are we talking m2 or m3 components? @Alex Vanyo?
a
Material 3 components in Compose have the new insets support
165 Views