Replies: 1 comment
-
We are making this change for Lottie 4.0: #1770 |
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
-
We're thinking about releasing Lottie 4.0 later this year, with
RenderingEngineOption.automatic
enabled by default. This gives us the opportunity to make other improvements that are breaking changes.I've seen some confusion about
AnimationView.backgroundBehavior
. It currently defaults to.pause
when using the main thread rendering engine, which seems unexpected to many users. For example:Also, when using the Core Animation rendering engine, we instead default to
.continuePlaying
(the CA engine doesn't have any CPU overhead so we don't have to worry about the animation wasting CPU resources animating when hidden). This means the default is inconsistent, which is not ideal.Should we make
.pauseAndRestore
the default behavior when using the main thread rendering engine? Curious if anyone has thoughts, and especially if anyone thinks.pause
is a better default.Beta Was this translation helpful? Give feedback.
All reactions