MadCat
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by MadCat
-
-
Hi all!
I'm new to GreenSock and I haven't been able to find a similar issue in the forum.
Does anyone know if it's possible to stop Scroll Trigger when ScrollTo is actively scrolling?
I have navigation links which use `ScrollTo` to navigate to specific sections. I also have a section which I want to pin and show an animation inside.
I'm looking for a way to pause `ScrollTrigger` when the user clicks a navigation link that utilizes `ScrollTo` - but have `ScrollTrigger` activated when the user is scrolling the page.
Thank in advance for all the help :)
Stop ScrollTrigger when ScrollTo is activated
in GSAP
Posted
Thanks @ZachSaucier for the solution! 'getAll' and 'disable'/'enable' methods is just what I needed! I'll make the pinning work.