Jump to content
Search Community

shard

Members
  • Posts

    3
  • Joined

  • Last visited

shard's Achievements

  1. Sorry for the double reply, is there a smarter way to have an array of elements play the same set of tweens in an overlapping sequence (i.e. so box 2 starts the first tween when box 1 is on its second tween)? That's what I was trying to achieve with the stagger parameter here.
  2. Thanks for the speedy reply, that does look like it fixed it. I took the note in the docs about "if you find yourself repeating the same thing, put it in defaults" too literally I guess! 🤣
  3. Hi, I just started with GSAP yesterday so it's likely that I'm doing something stupid, but I have a timeline/animation which plays fine on its own (i.e. without ScrollTrigger), and it also works with ScrollTrigger if I set the "scrub" parameter to true. But if I pass in a numeric value to scrub (to add a delay/catch-up effect as documented here, it does not work and throws errors in the console. I switched to the UMD GSAP files for easier debugging, and Firefox throws "Uncaught TypeError: lookup[i] is undefined" in _updatePropTweens on line 2846 of gsap.js. Chrome throws "Uncaught TypeError: Cannot read properties of undefined (reading 'totalProgress')" at the same line. What is it about my animation that doesn't work with delayed / catch-up scrub? Thanks for any tips! -Simon
×
×
  • Create New...