software-mansion / react-native-reanimated

React Native's Animated library reimplemented
https://docs.swmansion.com/react-native-reanimated/
MIT License
9.11k stars 1.32k forks source link

Shared Element Transition does not work when passing params through to screen B #4170

Open haibert opened 1 year ago

haibert commented 1 year ago

Description

Hey guys,

Amazing job on the shared element transition.

When passing a parameter to screen B the transition stops working for some reason.

navigate("ScreenB", { someParam: 123})

Steps to reproduce

  1. install reanimated v3
  2. Use example code to generate a quick test
  3. pass parameters through from ScreenA to ScreenB

Snack or a link to a repository

https://snack.expo.dev/LJsZw9oCp

Reanimated version

3.0.1

React Native version

71.3

Platforms

Android, iOS

JavaScript runtime

Hermes

Workflow

Expo managed workflow

Architecture

Paper (Old Architecture)

Build type

Debug mode

Device

iOS simulator

Device model

iPhone 14 pro

Acknowledgements

Yes

szydlovsky commented 5 months ago

Hey @haibert could you please check it again on newer versions? There have been a lot of changes to SETs 😄