You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Performing snapshots on Composables with Lottie animations sometimes produces blank content. However, when launching the app the animations are displayed correctly.
Some animations present warnings such as Convert your Illustrator layers to shape layers and Animation contains merge paths but they are disabled, but they are working fine at runtime. I assume this is not causing the issue since they sometimes get rendered by Paparazzi. Also, Lottie files without warnings are not working as well.
I apologise for being vague telling that this happens "sometimes", but unfortunately I've not been able to find the root cause after days of investigation.
Worth to mention that I already use the custom Lottie executor LottieTask.EXECUTOR = Executor(Runnable::run).
Steps to Reproduce
We use this custom Composable to perform an initial setup of the Lottie animation that we need to render
Description
Opening issue here as a follow-up for the thread in the Kotlin Slack channel.
Performing snapshots on Composables with Lottie animations sometimes produces blank content. However, when launching the app the animations are displayed correctly.
Some animations present warnings such as
Convert your Illustrator layers to shape layers
andAnimation contains merge paths but they are disabled
, but they are working fine at runtime. I assume this is not causing the issue since they sometimes get rendered by Paparazzi. Also, Lottie files without warnings are not working as well.I apologise for being vague telling that this happens "sometimes", but unfortunately I've not been able to find the root cause after days of investigation.
Worth to mention that I already use the custom Lottie executor
LottieTask.EXECUTOR = Executor(Runnable::run)
.Steps to Reproduce
We use this custom Composable to perform an initial setup of the Lottie animation that we need to render
And then this is the Composable we use to render the actual animation:
For our tests we use
TestParameterInjector
to perform screenshots in a bunch of different locales, and a test method body look like this:Expected behavior
The screenshots are rendered using the first visible frame of the Lottie animation.
Additional information:
The text was updated successfully, but these errors were encountered: