Hi everyone! I'm making a LazyColumn with cards (r...
# compose-android
g
Hi everyone! I'm making a LazyColumn with cards (red boxes for simplicity) which may have labels rendering outside the card bounds (green boxes for simplicity). This all worked until I added
Modifier.animateItem(placementSpec = null)
to the card, after which labels started being clipped inside card bounds for a moment after the initial composition (I assume label is clipped while LazyColumn item animation is running). Is this supported behavior and just a bug in Compose, or I should change my card's layout to include label into measured size? Code and video in thread
Untitled.kt
Screen_recording_20240820_134205.webm