Animate shared "complex" component #5836
Labels
Platform: Android
This issue is specific to Android
Repro provided
A reproduction with a snippet of code, snack or repo is provided
Description
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.
?
Videos are provided below.
Steps to reproduce
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
button.mp4
animatedImage.mp4
cardCover.mp4
Snack or a link to a repository
https://snack.expo.dev/@mbuffo/reanimated-custom-shared-component
Reanimated version
~3.6.2
React Native version
0.73.5
Platforms
Android
JavaScript runtime
None
Workflow
Expo Dev Client
Architecture
None
Build type
None
Device
Real device
Device model
Samsung Galaxy A9 (Android 9), Samsung Galaxy S20 FE (Android 13)
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: