Closed joepb closed 4 months ago
:warning: | Add or Reformat Version Info |
---|---|
:information_source: | We could not find or parse the version number of React Native in your issue report. Please use the template, and report your version including major, minor, and patch numbers - e.g. 0.70.2 |
Amazing fast fix, @zhongwuzw ! Thank you!
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)