Jump to content
Search Community

MadCat

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by MadCat

  1. 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 :)

     

    See the Pen wvMLVEM by nfrank (@nfrank) on CodePen

×
×
  • Create New...