Stylianos Gakis
11/24/2021, 5:02 PM<androidx.compose.ui.platform.ComposeView>
not showing its contents specifically in Android 9 (API 28) until I put my finger down in its area and then the items show. More details and a video 🎥 in thread 🧵Stylianos Gakis
11/24/2021, 5:03 PMandroidx.compose.foundation:foundation:1.1.0-beta02
or beta03
anything below is still broken. While keeping the rest of the compose dependencies to 1.0.4
or 1.0.5
As a side note, the outer view bounds are visible in the layoutInspector and with “Show layout bounds” enabled, but not its contents. Indicating that it’s definitely not a problem with the item not taking the space that it needs to.
And as a even more weird note, in the video you can show that the buttons literally show up when I just enable the layout preview debugging option 🤯
My concern is that the commits for that version do not seem to mention anything related to what I am experiencing. So is this a known bug with this older API version? Was it fixed on purpose? Or if not it might just break again sometime in the future and I should try to make a minimum reproducible case to have people look into it đź‘€Stylianos Gakis
11/24/2021, 5:06 PMStylianos Gakis
11/24/2021, 5:09 PMSelectActionView
composable implementation, as I’ve tested just putting a simple Button({}){Text(...)}
in this setContent{}
and that was also hidden until interacted with.Albert Chang
11/24/2021, 5:36 PMZach Klippenstein (he/him) [MOD]
11/24/2021, 5:36 PMStylianos Gakis
11/24/2021, 8:52 PMComposeView and rendering stuff are in ui module instead of foundation.This is only making me even more confused actually. Since as I said before, literally changing the foundation dependency from anything else to
1.1.0-beta02
or 1.1.0-beta03
is the only way I am not experiencing this behavior.Stylianos Gakis
11/24/2021, 8:53 PMAlbert Chang
11/25/2021, 6:14 AMAlbert Chang
11/25/2021, 6:15 AM./gradlew -q :module-name:dependencies --configuration releaseRuntimeClasspath
.