Fixed
Status Update
Comments
an...@google.com <an...@google.com>
ma...@google.com <ma...@google.com>
ma...@google.com <ma...@google.com>
ap...@google.com <ap...@google.com> #3
Thanks for the report!
ma...@google.com <ma...@google.com>
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.
pr...@google.com <pr...@google.com> #5
deleted
Description
Jetpack Compose version:
Jetpack Compose component(s) used: OutlinedTextField
Android Studio Build: Koala
Kotlin version:
Steps to Reproduce or Code Sample to Reproduce:
Create a simple Composable function containing an OutlinedTextField with a fixed height constraint (e.g., using
Modifier.height(42.5.dp)
)Run the app on an emulator.
Observe that the OutlinedTextField initially displays with the correct fixed height.
Tap on the OutlinedTextField to bring it into focus.
Notice that the height of the OutlinedTextField shrinks unexpectedly, despite the fixed height constraint.
Code
Stack trace (if applicable):