Red rectangle shown in the middle of the animation

Author: kirill-grouchnikovCreated Apr 22, 2026Updated Apr 22, 2026
LabelsRendering bug

Run the attached JSON file under version 6.7.1 of Android Lottie. In the middle of it, there is a vertical red rectangle shown along the right side of the animation.

Current workaround is to to switch the position of the layers in Lottie file to get the right visuals

What version of Lottie did you test this on?

6.7.1

What version of Android did you test this on?

Multiple, including T

Steps To Reproduce Steps to reproduce the behavior:

Load the attached file in LottieAnimation (Compose) using LottieCompositionSpec.RawRes with this file in res/raw

red-rectangle.json

Screenshots

Image