You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A client has a layout composable that uses the results from onSizeChanged in the first layout pass to correctly lay things out. The second+ pass layout is done with a graphicsLayer because it makes an animation perform better (no recompositions).
However, snapshots are capturing the first layout, not the second. We currently don't provide any way to snapshot on the second layout pass.
Android studio actually renders the animation here and results in the second+ layout pass as the "stable" preview.
A client has a layout composable that uses the results from onSizeChanged in the first layout pass to correctly lay things out. The second+ pass layout is done with a graphicsLayer because it makes an animation perform better (no recompositions).
However, snapshots are capturing the first layout, not the second. We currently don't provide any way to snapshot on the second layout pass.
Android studio actually renders the animation here and results in the second+ layout pass as the "stable" preview.
Minimal repro:
The text was updated successfully, but these errors were encountered: