IjzerenHein / IjzerenHein/react-navigation-shared-element

Not working with newArchEnabled

Open
#283 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.3k
Forks
125
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with newArchEnabled=true in android/gradle.properties and the dependency versions listed in the report, following the shared element transition documentation. Done means shared element transitions work with the new architecture enabled, with the affected setup verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.