Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with newArchEnabled #283

Open
Rodrigo816 opened this issue Nov 15, 2023 · 2 comments
Open

Not working with newArchEnabled #283

Rodrigo816 opened this issue Nov 15, 2023 · 2 comments

Comments

@Rodrigo816
Copy link

Rodrigo816 commented Nov 15, 2023

When enabling the newArchEnabled flag in React Native (newArchEnabled=true), shared element transitions seem to stop working. This issue occurs with the following dependencies:

"@react-navigation/bottom-tabs": "^6.0.0"
"@react-navigation/native": "^6.0.0"
"@react-navigation/native-stack": "^6.0.0"
"@react-navigation/stack": "^6.0.0"
"react": "^18.2.0"
"react-native": "^0.72.5"
"react-native-shared-element": "^0.8.8"
"react-navigation-shared-element": "^3.1.3"
"react-native-reanimated": "^3.5.4",
"react-native-safe-area-context": "^4.4.1",
"react-native-gesture-handler": "^2.6.0",

Steps to Reproduce:

Set newArchEnabled=true in your android/gradle.properties.
Implement shared element transitions using the mentioned documentation.

Expected Behavior:
Shared element transitions should work as expected, even when newArchEnabled is set to true.

@IjzerenHein
Copy link
Owner

Does it cause build issues or what exactly are you seeing?

@Rodrigo816
Copy link
Author

Rodrigo816 commented Nov 16, 2023

Does it cause build issues or what exactly are you seeing?

It does not cause build issues, it just doesn't animate the elements with the new newArchEnabled
It navigates from screen A to B with success w/o any animation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants