zalewski.se
10/21/2025, 9:17 AMLazyColumn animates its size (e.g., using .layout modifier), I’m noticing the item shifts vertically instead of staying anchored in the viewport. For example, if an item is centered, I’d like it to expand/collapse “in place” from that center point. Instead, the scroll position seems to anchor to the top (or bottom?) of the item, causing it to shift.
Is there a recommended way to keep an item’s visual position stable in the viewport while its size animates within a LazyColumn?shikasd
10/21/2025, 11:19 PMzalewski.se
10/22/2025, 8:55 PMzalewski.se
10/22/2025, 9:20 PM