Fixed
Status Update
Comments
an...@google.com <an...@google.com>
ma...@google.com <ma...@google.com>
ma...@google.com <ma...@google.com> #2
Ignore! Apparently this is WAI
ma...@google.com <ma...@google.com>
ap...@google.com <ap...@google.com> #3
Indeed, but I think it's good feedback to improve the doc.
ma...@google.com <ma...@google.com>
pr...@google.com <pr...@google.com> #5
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.material:material:1.8.0-alpha07
androidx.compose.material:material-android:1.8.0-alpha07
androidx.compose.material:material-jvmstubs:1.8.0-alpha07
androidx.compose.material:material-linuxx64stubs:1.8.0-alpha07
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):