Hi @Tonycre8   GSAP needs to do some cleanup before the component gets removed from the DOM, so you should create your scroll triggers inside useLayoutEffect like this. There should be no need to add an extra div using this method.   useLayoutEffect(() => { let st = ScrollTrigger.create({ pin: true, ... }); return () => { st.kill(); }; }, []);      
    • Thanks
    • Like
    4