Jump to content
Search Community

How to connect scrolltrigger to react?

Manvel test
Moderator Tag

Recommended Posts

Hi,

 

Is really hard for us to find issues without a minimal demo. You can fork our React Starter template directly on this link:

https://stackblitz.com/edit/react-cxv92j

 

Or you can find our most popular templates in Stackblitz Creative templates:

https://stackblitz.com/?starters=creative

 

Based on the images you shared the only issue I can see is that you're not using GSAP Context. When it comes to using GSAP in a React environment Context is your best friend!

https://greensock.com/docs/v3/GSAP/gsap.context()

 

Also I recommend you to check the articles in this section of our website:

 

Hopefully this helps.

Happy Tweening!

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...