I'm trying to set a Lottie Animation on loop as a background, which should take up the full height and width of the screen. In the UI Builder, the Lottie Animation appears as expected, set inside a container of infinite width and height.
However in the debug mode, the Lottie Animation reverts to a collapsed fit. How can I set the Lottie Animation to stretch the full width & height of the screen?
(Image #1): The animation preview in the UI Builder.
(Image #2): The animation in debug mode.