Hey all, I'm new to GSAP and I've watched darn near every video possible (i.e. getting started, common mistakes, creativecodingclub.com) but I'm still running into some janky performance problems with a Scroll Trigger project, mainly with Firefox and to a lessor degree Safari. I'm looking into a few culprits but I wanted to make sure I'm not doing something fundamentally wrong.
Here's the basic idea:
A series of pinned panels that fade in/out as you scrub
Additional custom scrub animation on select panels (in addition to the fade in/out noted above)
A background animation that starts w the first panel and ends with the last one
Regular ol' non-scroll-trigger content that follows afterward
The attached codepen is a super simple demo of how I've approached the much larger actual project.
Thanks in advance to any kind soul(s) who could check my work and provide any feedback on whether this is the right approach/structure or not.