-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Animation looks differently with different rendering mode #1876
Comments
Thanks for the report. I've investigated some and understand why this issue is happening, but don't know a good way to fix it. Leaving some notes for future reference: The
In the main thread rendering engine, the two rectangles are combined into a single The Core Animation rendering engine converts each Group into a I'm not sure there's a way to fix this without substantially rewriting how groups are handled by the Core Animation rendering engine, and I'm not sure we have a good way to detect this unsupported case without having too many false-positives. A workaround would be to either:
|
Hey! |
Yes, that's the intended behavior of The problem here is that there are a lot of Lottie animations in our test suite that have a similar structure to this animation but still render correctly. A compatibility check would need to be able to tell the difference between these cases. |
Here's another example of this issue: #2085 |
Hello!
I'm trying Lottie 4.0.1 and animation broken with rendering mode automatic. I attached json file and screenshot how this file looks:
Web Preview:
iOS with mainThread:
iOS with automatic rendering mode:
As you can see on the Web Preview animation looks cool, but on iOS with mainThread there is some glitches on the top, on iOS with automatic rendering mode animation is broken.
NoConnectionLight.json.zip
The text was updated successfully, but these errors were encountered: