Closed cpellet closed 2 years ago
Same issue here. For some reason, I also only get the issue when pushing to prod (Vercel) but not on localhost: https://mythic-trap.vercel.app/vault/eranog
Animation is missing elements because of this for me too.
Same issue here. For some reason, I also only get the issue when pushing to prod (Vercel) but not on localhost: https://mythic-trap.vercel.app/vault/eranog
Animation is missing elements because of this for me too.
I actually found a fix, this seems to be Vercel's issue, see here: https://github.com/vercel/next.js/issues/42801. I will close this issue here.
Describe the bug Lottie animations do not display properly, console gives the following error:
Error: <path> attribute d: Expected moveto path command ('M' or 'm')
To Reproduce Steps to reproduce the behavior: Attempt to display the linked lottie animation as follows:
<Lottie autoplay loop animationData={Angry} rendererSettings={{preserveAspectRatio: 'xMidYMid slice'}}/>
Expected behavior The animation shows well in localhost development environment, but fails to load in production.
Screenshots Only tiny parts of the animation are loaded: Whereas it is supposed to look like this (on localhost):
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
angry.zip