Jump to content
Search Community

imthejuicebox

Members
  • Posts

    1
  • Joined

  • Last visited

imthejuicebox's Achievements

0

Reputation

  1. Hi, first off, wanted to say I just started using GSAP and its awesome. Thank you for creating it! I encountered an issue when using ScrollTrigger.batch(). The problem occurs when I add a stagger value and the batch does not have time to complete before the next batch is triggered. I have a list of divs, 4 items per row. I noticed that when scrolling down in small spurts, a new batch would start animating before the previous one finished. Is it possible to have each batch finish before the next one starts, kinda of like having the scroll triggers enter into a queue. Please see the codepen example. I added a rather long, exaggerated stagger value to help make the issue more apparent when scrolling down in spurts. Thanks, any help is much appreciated!
×
×
  • Create New...