-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
since ios 14, animated gif without loop are rendered twice #30147
Comments
Same issue here on 0.63.3 with iOS14. |
I am having same issue with IOS 14 |
+1 Also same issue on 0.63.3 with iOS14 |
I did a bit of digging into the ios animated image code and found that if I changed this:
to this:
then my animated gif renders only once on iOS 14 and still renders only once (as it always has) on iOS 13.7 as well. Maybe something changed with the way that |
FWIW - this is the only thread I could find on this, but I was having the same issue with a non-looping gif rendering twice in a web project (not React or React Native). It was happening in both Safari and Chrome on my iOS 14 device until I updated to iOS 14.2 last night, and that resolved the issue for me. |
can you explain how this line |
loopCount is not increased on iOS 14 or higher. I went ahead and created a pull request. |
Summary: Animated gifs, which do not loop, currently animate twice on iOS 14. See: #30147 ## Changelog [iOS] [Fixed] - Animated images without loop no longer animate twice Pull Request resolved: #30744 Test Plan: Run the example app with any animated gif. I attached a gif, which is affected. ![checkmark](https://user-images.githubusercontent.com/54310840/104746529-b2e02900-574f-11eb-9870-0c03c769c990.gif) Reviewed By: sammy-SC Differential Revision: D25977626 Pulled By: PeteTheHeat fbshipit-source-id: 889d4a7bed8f7a7be6a9a427501d0071b7c02b8c
changing the above code does not work on my project, still animating twice in ios 14.4, https://user-images.githubusercontent.com/38404135/108080357-c73c7c00-7095-11eb-839b-1c8bcda3cc20.mov |
are you sure that modal is gif? and have you tried to rebuild your app after you change the module? |
Any update on this issue? Or any official fix is done? |
Same here animated gifs animate *2 |
Same in iOS 14.5 and android |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
It seems to have been fixed. Thanks!
…On Sun, Jan 9, 2022 at 4:46 AM stale[bot] ***@***.***> wrote:
Hey there, it looks like there has been no activity on this issue
recently. Has the issue been fixed, or does it still require the
community's attention? This issue may be closed if no further activity
occurs. You may also label this issue as a "Discussion" or add it to the
"Backlog" and I will leave it open. Thank you for your contributions.
—
Reply to this email directly, view it on GitHub
<#30147 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACLWJGRAG5QQNULK3PL7GSTUVFYRTANCNFSM4SJ7JFWQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Ethan Dirks
www.ethandirks.com
210-310-8757
|
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
Description
since ios 14, animated gif without loop are rendered twice
React Native version:
"react-native": "^0.63.2" and ios 14
Steps To Reproduce
use a gif without loops and use it like:
<Image source=
Expected Results
run the gif without the second loop
The text was updated successfully, but these errors were encountered: