Assigned
Status Update
Comments
ia...@google.com <ia...@google.com> #2
Tram, can you confirm that the behavior is correct if the modifier is moved to the composable inside the AnimatedPane?
ch...@google.com <ch...@google.com> #3
Hi Max, yes when the modifiers are moved to the composable inside the AnimatedPane, the PB animations are better than when the modifiers are in the AnimatedPane itself
ti...@google.com <ti...@google.com> #5
After some investigation, I can conclude this behavior is consistent with other animation "wrapper" composables, e.g. AnimatedVisibility
. Modifiers should indeed be applied to the children in order to properly participate in the animation.
ti...@google.com <ti...@google.com> #6
Oscar is working on a new release of ConstraintLayout that contains consistent placement logic across lookahead and approach passes. It should fix this issue. We can mark this issue as a duplicate of
Description
I'm getting an commit 8dd291d8 on the Jetcaster sample app and tapping on a podcast album art, followed by scrolling in the podcast detail screen (see attached video).
java.lang.IllegalStateException: Error: Placement happened before lookahead.
while scrolling on the supporting pane in aSupportingPaneScaffold
. The app's supporting pane is implemented as aLazyColumn
wherein each row in the column is aConstraintLayout
. You can repro this by checking outStack trace: