Jump to content
Search Community

scrolltrigger PIN issue in react

chinnmay test
Moderator Tag

Recommended Posts


Hello @chinnmay


That appears to be a problem with React's StrictMode and how it handles things from React 18.0 on.


You should definitely check out gsap.context(), which was added in GSAP 3.11 


There is a demo for use with React on the very bottom of that docs page





This is your example working with that.






And if you want to read more about how and why the StrictMode in React 18 makes things problematic, check out this thread.





  • Like 4
Link to comment
Share on other sites

  • 7 months later...
  • 4 weeks later...


Welcome to the GSAP Forum, karnan.


Your question really sounds like it is not related to this topic, so please create a new thread for your request.

As a little hint upfront:

There are endless possibilities for what could have gone wrong for you, so you'll likely need to provide some more information than you just did here, for somebody to be able to help you.

In the meantime you can trawl the forum to see if maybe there already is a thread that can help you out with your problem.

These here are the most recent search results with regard to vercel.




Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...