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

Set fadeDuration to 0 for appearing images involved in shared element transition #6737

Merged
merged 3 commits into from
Nov 3, 2020

Conversation

guyca
Copy link
Collaborator

@guyca guyca commented Nov 3, 2020

React Native fades in images by default. During shared element transitions this creates
a noticeable flicker (depending on resizeMode, this is noticeable when resizeMode: 'contain' is used)

This commit sets fadeDuration to 0 to avoid such flickering.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
… transition

React Native fades in images by default. During shared element transitions this creates
a noticeable flicker.

This commit sets fadeDuration to 0 to avoid such flickering.
@guyca guyca merged commit bb9a668 into master Nov 3, 2020
@guyca guyca deleted the setFadeDuration branch November 3, 2020 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants