Replies: 2 comments
-
Moreover, I've builded a standalone project with only collection view and locally placed assets to test cells scrolling with some random set of animations and with the set, I've previously attached. The result is the same. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
It may be my fault but I am facing an issue after migrating from 2.5.3 to 4.2.0.
I have a collection of images (animated and static) which is scrolling on vertical axis. I've recorded a video from a physical device (iPhone 13), when I am scrolling up and down frame rate dramatically lowers and you can see some animation freezes.
This happens only after migration to 4.2.0 and never happens before.
I've read some docs, announces and closed issues, so I've figured out that the problem can be connected with new rendering engine and json decoding.
So I've tried to build
LottieAnimationView
with configurationLottieConfiguration(renderingEngine: .mainThread, decodingStrategy: .legacyCodable)
and got no positive changes.While trying to debug I used Profiler and all traces points to Lottie calls, but I don't find it useful enough to figure out what actually causes this behaviour.
You can find assets examples which I used in test in the attachment. Also I've attached small video with collection behavior and for some purpose and screenshot from profiler (don't think it's too useful but let it be).
https://github.com/airbnb/lottie-ios/assets/20144920/ff69bf2e-2783-4c04-a3b9-0a6a8fff3e01
assets.zip
Beta Was this translation helpful? Give feedback.
All reactions