Fixed
Status Update
Comments
co...@google.com <co...@google.com>
le...@google.com <le...@google.com>
na...@google.com <na...@google.com> #3
Thanks for the report!
ap...@google.com <ap...@google.com> #4
The release notes documentation has been edited to clarify this change in behavior for line height.
To support non-standard text sizes, we encourage users to follow the Material design system and use a different style = LocalTextStyle.current.copy(lineHeight = TextUnit.Unspecified)
, or create a custom Typography
entirely.
Description
Jetpack Compose component used: material3-adaptive-navigation-suite
Android Studio Build: Android Studio Iguana | 2023.2.1 Canary 14
Kotlin version:
Steps to Reproduce or Code Sample to Reproduce:
1. Open project (or create new Navigation Suite project and add a simple Composable as part of the NavigationSuiteScaffold content)
2. Run the project
Preview shows Navigation Suite working fine, but when run on device, the BottomNavigationBar appears in the middle of the screen (and NavRail as well), and the content Composable is not shown. I could replicate this error on Pixel Fold and Pixel 7 Pro, both running Android 14.
Invalidate and restart or rebuild the app didn't fix the issue, but removing the Size modifiers from the root Surface fixed it.