Assigned
Status Update
Comments
ro...@google.com <ro...@google.com> #2
Tram, can you confirm that the behavior is correct if the modifier is moved to the composable inside the AnimatedPane?
ia...@google.com <ia...@google.com>
co...@google.com <co...@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
dm...@8x8.com <dm...@8x8.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.
dm...@8x8.com <dm...@8x8.com> #6
At the very least, adding an enabled
parameter to the sharedElement
modifier would be helpful so that we can disable the shared element transition in the case of both source and target panes being shown.
Description
I tried to implement Shared Element Transition with ListDetailPaneScaffold, but for some reasons, it doesn't play the animation (the Shared Content State cannot find a match).
Could you look into it?