software-mansion / react-native-reanimated

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

shared element transition android bug #4827

Open hamdij0maa opened 1 year ago

hamdij0maa commented 1 year ago

Description

image

Steps to reproduce

https://github.com/software-mansion/react-native-reanimated/blob/main/app/src/examples/SharedElementTransitions/NestedStacks.tsx

just a nested stack

Snack or a link to a repository

https://github.com/software-mansion/react-native-reanimated/blob/main/app/src/examples/SharedElementTransitions/NestedStacks.tsx

Reanimated version

3.4.0

React Native version

0.72.0

Platforms

Android

JavaScript runtime

Hermes

Workflow

Expo bare workflow

Architecture

Paper (Old Architecture)

Build type

Debug mode

Device

Android emulator

Device model

Pixel 5

Acknowledgements

Yes

github-actions[bot] commented 1 year ago

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

tjzel commented 1 year ago

Hi @hamdij0maa. Everything works for me. Have you reset your bundlers cache? (yarn start --reset-cache or npm start -- --reset-cache)

hamdij0maa commented 1 year ago

Yes, The problem still there but not the first nav press, when you go back and return again it happens

tjzel commented 1 year ago

Weirdly enough maybe it's related to #4828. You didn't exactly provide a repro but I guess you are not actually running our repo's Example app - could you remove your app's yarn.lock and let it regenerate? If this won't help I will need an actual repro from you to be able to investigate it.

hamdij0maa commented 1 year ago

okay

Saigenix commented 1 year ago

is problem solved @hamdij0maa ? and Do I need to regenerate yarn.lock file @tjzel ?

tjzel commented 1 year ago

Hi @Saigenix, I can't guarantee it will help but definitely shouldn't harm (unless some packages get upgraded to versions containing errors).

kbqdev commented 1 year ago

+1 same on real device GooglePixel 3a