Fixed
Status Update
Comments
gr...@google.com <gr...@google.com>
so...@google.com <so...@google.com>
ap...@google.com <ap...@google.com> #3
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.material3:material3-adaptive-navigation-suite:1.4.0-alpha07
androidx.compose.material3:material3-adaptive-navigation-suite-android:1.4.0-alpha07
na...@google.com <na...@google.com> #4
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.foundation:foundation:1.8.0-beta01
androidx.compose.foundation:foundation-android:1.8.0-beta01
androidx.compose.foundation:foundation-jvmstubs:1.8.0-beta01
androidx.compose.foundation:foundation-linuxx64stubs:1.8.0-beta01
Description
Steps to Reproduce or Code Sample to Reproduce:
The code below should produce a text component 2 lines tall. However it is only 1 line tall. Removing the modifier makes it correctly 2 lines tall.
Repro code:
This issue makes it that if any parent container applies this modifier, the text is measured incorrectly, breaking the UI.
Jetpack Compose version:
2024.12.01
BOMJetpack Compose component(s) used:
BasicText
/Text
andModifier.height(IntrinsicSize)
Android Studio Build: Build #AI-242.23339.11.2421.12700392, built on November 22, 2024
Kotlin version:
2.0.21