IjzerenHein / IjzerenHein/react-navigation-shared-element

Shared Element transition not happening when image on second screen is changed by the user.

Open
#201 0 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

Hey all! :)

When I transition from Screen 1 -> Screen 2, and then from Screen 2 -> Screen 1, the "image move" transition happens perfectly as it should.

However, I allow the user to change their image on Screen 2, and unfortunately, the "image move" transition back to Screen 1 does not happen.

Interestingly, I'm using a tag that does not change. Here's my implementation.

```


```

What may be the issue here if the tags remain unchanged? What may be causing the library to not make the correct image move transition?

Below are the following versions that I'm using:

`"react-native-shared-element": "0.8.2"`
`"react-navigation-shared-element": "^5.0.0-alpha1"`

Thanks in advance for the help!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the supplied SharedElement and FastImage snippet and the listed react-native-shared-element 0.8.2 and react-navigation-shared-element 5.0.0-alpha1 versions. Reproduce the transition after changing the image on Screen 2, then compare it with the unchanged-image case; done means the image transition back to Screen 1 works after the user change.

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.