I have build a preloader for my site.
It has a Lottie animation that plays on scroll in the background but it is a bit big (5mb)
But it’s a nice effect.
But the preloader dissapears before all the images included in the json are loaded, so the animation glitches.
Can anybody tell me if it’s because it’s a lottie or am i doing something wrong with the preloader?