Jump to content
Search Community

Tagliavia

Members
  • Posts

    28
  • Joined

  • Last visited

Everything posted by Tagliavia

  1. Hi everyone I have a React SPA and when i use scrollIntoView None of the scrolltrigger animations get fired, any workaround for this
  2. Thank you for the quick reply and sorry for being AFK for so long. Looks like create react app development mode might have some issues with GSAP. After shutting down and restarting scrollTrigger instances appeared in the console. In the time being i'm actually testing the library to get a better understanding of it in a basic create react app project. Here is the github repo: https://github.com/rtagliavia/gsap-playground.git So far animations work as expected if each item has a unique ID or className that is not repeated in the code, but trigger position is giving me some headaches. When setting start at center center, marker for start is way higher than element to be animated.
  3. Hi everyone and thanks for GSAP. I'm using ScrollTrigger in a React Project, but struggling with debugging some issues. At the moment I'm trying to see all ScrollTriggers instances that are active by console.log(ScrollTrigger.getAll()), but no output is printed to the console. Any pointers regarding this would be appreciated.
×
×
  • Create New...