Fixed
Status Update
Comments
il...@google.com <il...@google.com>
il...@google.com <il...@google.com> #2
This was fixed in NavHost
now takes a modifier
parameter directly, avoiding the requirement to wrap the NavHost
in a Box
.
This will be available in Navigation Compose 1.0.0-alpha10.
ki...@gmail.com <ki...@gmail.com> #3
Great news, thank you very much.
Description
Component used: Navigation Version used: Jetpack Compose version:
Android Studio Version:
When following the Bottom Nav Bar section of Navigation with Compose:
Composable content from the NavHost Composable will show under the BottomNavigation composable because
PaddingValues
provided from the root layout are not applied to theNavHost
.A workaround for this is to place the
NavHost
composable insideBox
and apply the padding values there: