Fixed
Status Update
Comments
ma...@google.com <ma...@google.com>
na...@google.com <na...@google.com> #3
Thanks for the report!
pr...@google.com <pr...@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 version: 1.6.2
Jetpack Compose component used: compose.material3
Android Studio Build: Iguana 2023.2.1 rc2
Kotlin version: 1.9.22
Steps to Reproduce or Code Sample to Reproduce:
Third elevated button will change its colors to tonal button, because tonal button caches its values into wrong variable (dedicated to tonal button).
From the sources:
androidx.compose.material3.Button.kt