IjzerenHein / IjzerenHein/react-navigation-shared-element

error when triggering goback

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

Description

"react-navigation-shared-element": "^5.0.0-alpha0"
"react-native-shared-element": "^0.7.0"
"@react-navigation/bottom-tabs": "^5.8.0",
"@react-navigation/drawer": "^5.9.0",
"@react-navigation/native": "^5.7.3",
"@react-navigation/stack": "^5.9.0",

**Warning: Can't perform a React state update on an unmounted component.**

going to the details screen works great with animation and all, clicking on goBack works with animation but an error pops and the SharedElement seems to be freeze in place (scrolling, and it's stuck in position.)

please, your kind help!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the back-navigation flow with the listed React Navigation and shared-element package versions, then inspect the warning about updating an unmounted component. Done means returning with goBack preserves the shared-element animation and does not freeze or emit the warning.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.