Hi, when the site loads the lottie appears after the text. Any suggestions on how to fix this?
Sure
could you share the project ID? feel free to DM
I’m guessing the lottie animation doesn’t render until hydration is running (no ssr for lottie animation). So first the page is served with html, then javascript runs and “hydrates” the page, which renders the lottie animation, so there is a gap there. You can minimize this by setting an explicit width/height on the lottie component, so that it will at least take up the right amount of space and there won’t be content shift.