-
After updating from 3.4.3 I'm having an issue with the animation below. Expected: not.updated.trimmed.movActual: updated.trimmed.movIf you watch the lower left corner of the leaf being animated, you will see that it is being cropped while moving over to the right. I'll include a freeze frame below for an easier look at it. I have confirmed that this issue is only introduced upon updating Lottie, and no changes to the animation have been made. After updating, I was having an issue with some animations in our snapshot tests that I solved after following the advice given here. But other than that, this is the only side effect from updating (and this appears to be the only animation that's been affected). As suggested here, I've made sure that this animation is being rendered on the main thread but that doesn't make any difference. I've searched for any other posts with this same "cropping" issue but I couldn't find any. Any suggestions/ideas at all would be appreciated! Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Please share a copy of your animation or a sample project that demonstrates the issue. If you can't share the animation publicly, you can email it to me privately at [email protected]. |
Beta Was this translation helpful? Give feedback.
-
Oh, I missed that you just updated from 3.x to 4.x. 4.0.0 included this change, which updated #2008 added a |
Beta Was this translation helpful? Give feedback.
Oh, I missed that you just updated from 3.x to 4.x.
4.0.0 included this change, which updated
LottieAnimationView
to mask the animation to bounds by default: #1814#2008 added a
maskAnimationToBounds
property when you can set tofalse
to re-enable the old behavior.