react-navigation / react-navigation

Routing and navigation for your React Native apps
https://reactnavigation.org
23.47k stars 5.01k forks source link

Animations are not working after navigating to the same screen with react-navigation/drawer && react-navigation/bottom-tabs #12106

Open coderBeat opened 3 weeks ago

coderBeat commented 3 weeks ago

Current behavior

I have the following screens:

screen A
screen B (contains reanimated animations with SVG)
screen C (contains congratulation screen that plays a lottie-react-native animation).

The structure is following:

- Drawer
             - Bottom Bar -> Contains Screen A
             - Screen B
             - Screen C

Expected behavior

Reproduction

https://github.com/react-native-community/reproducer-react-native

Platform

Packages

Environment

package version
@react-navigation/native 6.1.18
@react-navigation/bottom-tabs 6.6.1
@react-navigation/drawer 6.7.2
@react-navigation/native-stack 6.11.0
react-native-safe-area-context 4.10.9
react-native-screens 3.32.0
react-native-gesture-handler 2.17.1
react-native-reanimated 3.15.0
react-native 0.75.1
node 20.9.0
npm or yarn 10.1.0
github-actions[bot] commented 3 weeks ago

Hey @muhammadCompany! Thanks for opening the issue. It seems that the issue doesn't contain a link to a repro.

The best way to get attention to your issue is to provide an easy way for a developer to reproduce the issue.

You can provide a repro using any of the following: