-
Notifications
You must be signed in to change notification settings - Fork 605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Insets] Missing WindowInsets.navigationBarsWithIme #239
Comments
If you look at how val navigationBarsWithIme = LocalWindowInsets.current.let {
it.ime.coerceEachDimensionAtLeast(it.navigationBars)
}
|
That would make it easier, yeah. I just thought since Adding own extension property is easy enough. |
The modifiers are different as it's difficult to compose custom logic in them (although still possible). They are also designed to cover common use-cases. Reading |
Modifier.navigationBarsWithImePadding()
is extremely helpful, but there does not appear to exist any equivalent forWindowInsets
.To get correct content padding for my
LazyColumn
I had to do this to work around it:Or, for a reusable version:
The text was updated successfully, but these errors were encountered: