It works in the editor most of the times, but it doesn't work in the offline files. I have made a version with Vite with gsap installed. Doesn't work on repl.it even thought it's the same code. The animation works in the development version sometimes but fails to show up in the production version. It's just a simple scrollTrigger based animation that uses containerAnimation property to animate boxes. I'm sorry if this is a very noob question. Any help appreciated.
Welcome to the forums @Supreme_Leader_Duck
There is a known in regression in the current version that may affect .from() ScrollTrigger animations. It's fixed in the next release, but in the meantime try adding lazy: false to any .from() animations.
Ex...
gsap.from(e, {
// try this
lazy: false,
yPercent: -50,
opacity: 0,
scrollTrigger: {
containerAnimation: scrollTween,
trigger: e,
start: "left 80%",
end: "left 40%",