Sveltekit with gsap and scrollTrigger in GSAP Posted May 2, 2022 @OSUblake Any further updates on this? I'm expierencing the same issue, the only way I can import it now is by using the below method. The problem is this is causing serious headaches while trying to cleanup ScrollTriggers. onMount(() => { const { ScrollTrigger } = await import('gsap/ScrollTrigger'); gsap.registerPlugin(ScrollTrigger); });
Sveltekit with gsap and scrollTrigger
in GSAP
Posted
@OSUblake Any further updates on this? I'm expierencing the same issue, the only way I can import it now is by using the below method.
The problem is this is causing serious headaches while trying to cleanup ScrollTriggers.