Animate shared "complex" component #5820
Unanswered
MatteoBuffo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. My goal is to animate a React Native Paper
Card.Cover
component between two screens. Unfortunately, that doesn't seem to work.I followed the steps reported in these doc pages:
Am I missing something? Or is it this related to this limitation:
The layout for shared view children is not computed during the transition.
?
Project
Snack
Steps
Home
andDetails
- you basically navigate fromHome
toDetails
by pressing the shared, animated element. The animation consist in expanding/reducing the shared component width when navigating between screensapp/components/MyAnimatedComponent.tsx
Videos are provided below.
cardCover.mp4
button.mp4
animatedImage.mp4
Beta Was this translation helpful? Give feedback.
All reactions