Jump to content
Search Community

Huzaifa727

Members
  • Posts

    2
  • Joined

  • Last visited

Huzaifa727's Achievements

  1. @Rodrigo I did something similar to your solution. In my Home and About components I had multiple elements that's why I was using React Fragments (<> </>) to wrap them. Instead of this I wrapped my elements into a <main> element and it is working now. Thanks a lot Sir!
  2. Hi I am having a problem using ScrollTrigger with React Router. I have two pages in my website Home and About. The animation on homepage works perfectly but when I navigate to About page I get this error. "Node.removeChild: The node to be removed is not a child of this node" If I visit About Page by direct url without using router then the Animation on About page works fine but If I navigate to Home page from About page then the same error happens again. I am new to Scrolltrigger and also react and I've been trying to solve this for days but I couldn't find any solution on the internet. That's why I posted here. Anyway below is the url to the StackBlitz code of my project. https://stackblitz.com/edit/stackblitz-starters-bldghh
×
×
  • Create New...