Excluding children and nested shared-elements
See original GitHub issueI have a shared element with includeChildren: true
. This transitions a small card into a larger, more detailed one.
On the larger card, some elements exist that are also on the smaller card, but not all.
So I’m trying to transition the smaller card into the larger one, but also having shared elements inside the smaller card that have a matching element in the larger card.
The problem I’m facing is that I can’t exclude these inner shared elements, causing illusory to transition them twice, and to different locations. Here’s a video demo:
If you look at the progress bar (the gray one), you can see how two copies of it are created.
Is it somehow possible to prevent this? I know you can filter out elements in Illusory, but the processClone
option doesn’t seem to be available in the v-shared-element
-options…
I think excluding some would be a far better option than manually transitioning every single element using includeChildren: false
…
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (9 by maintainers)
Top GitHub Comments
Thank you for bringing the issue to my attention!
Just updated the package and IT LOOKS AWESOME!
Thanks again!