Skip to content

Fixed rare case of infinitive animation of animated image #3332

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

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

gosha212
Copy link
Contributor

Description

This is a fix of a rare case of infinitive skeleton animation in AnimatedImage component that happens when the component is invisible.

Changelog

AnimatedImage

Additional info

This issue could happen for example in a long scroll list of animated images that are out of screen. In that case image is not starting to being loaded but we do start to show the animation (invisible).
This is not a real problem in production, but it does brakes Detox tests in components that are using AnimatedImage

@gosha212 gosha212 requested a review from ethanshar October 29, 2024 13:51
@ethanshar ethanshar self-assigned this Oct 30, 2024
@ethanshar ethanshar merged commit ed8d3cf into master Oct 30, 2024
1 check passed
@ethanshar ethanshar deleted the fix/ImageInfinitiveLoading branch October 30, 2024 11:14
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

Successfully merging this pull request may close these issues.

2 participants