Jump to content
Search Community

How to Rotate Element 180deg with Locomotive Scroll?

Ivan Mocs test
Moderator Tag

Recommended Posts

  • Ivan Mocs changed the title to How to Rotate Element 180deg with Locomotive Scroll?

LocomotiveScroll hijacks native scroll and uses "fake" scrolling. ScrollTrigger is based on native ("real") scroll position, thus if you want them to work together you need to get them communicating which is what we made ScrollTrigger.scrollerProxy() for. But please note that LocomotiveScroll is not a GreenSock product so we cannot support it here in these forums. 

 

I'd strongly recommend considering ScrollSmoother instead which integrates perfectly with ScrollTrigger and allows you to apply smooth scrolling with a single line of code. It's a membership benefit of Club GreenSock

https://greensock.com/scrollsmoother

 

Good luck with your project!

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