Jump to content
Search Community

Help with LocomotiveScroll + GSAP + React

Ayrds test
Moderator Tag

Recommended Posts

Hello everyone!

I'm doing a project in which I want to include LocomotiveScroll, I understand that I must use ScrollTrigger.scrollerProxy() but I don't understand how to implement it, at least in React. I have looked and read various guides but still failed to do it.

The animation works perfectly, the problem is when I add LocomotiveScroll, that's when the animation stops being seen.

Any help you can give me I will be very grateful, I attach a link to my codesandbox.

 

https://codesandbox.io/s/locomotivescroll-and-gsap-9d5er

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