Jump to content
Search Community

pxls

Members
  • Posts

    1
  • Joined

  • Last visited

pxls's Achievements

0

Reputation

  1. Hi guys, loving gsap atm, doing some animation stuff that I thought would be incredibly difficult! Just wondering if there had been any solution to this - I'm running into a very similar problem where (in React too) the SVGs that I'm animating (which animate via ScrollTrigger) sometimes don't actually appear when the page hotreloads. I then have to refresh a random number of times until they do load. There are also times when only a few SVGs appear. In comparing my code to @Leinad's, my animation run in a `useEffect` too. I can also confirm that when I comment out all the gsap usage (ie literally the whole `useEffect`, all SVG's load fine.
×
×
  • Create New...