Image .gif frame timing off-by-one error in iOS #44608
Labels
Component: Image
Issue: Author Provided Repro
This issue can be reproduced in Snack or an attached project.
Platform: iOS
iOS applications.
Resolution: Fixed
A PR that fixes this issue has been merged.
Description
When using the Image component to render a .gif file with non-uniform frame timings, the frame durations are shifted one frame on iOS.
On web and Android, the timings are correct, but iOS is incorrect.
A snack with this gif is provided:
The content of the image is pretty self explanatory. It consists of 6 frames with different duration, as shown in the image:
On web and Android, the gif is shown as expected, however on iOS, this is perceived:
The issue shows both in the snack as on physical devices.
Steps to reproduce
Use an Image with a non-uniformly timed .gif. See snack for repro.
React Native Version
0.74.0
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://snack.expo.dev/@joepb/gif-timing-error
Screenshots and Videos
Timing on Android: (correct)
Timing on iOS: (incorrect)
The text was updated successfully, but these errors were encountered: