momo12 Posted October 17, 2022 Share Posted October 17, 2022 Hi guys, The scroll trigger and Locomotive scroll are working together. But is there a way to use Scroll Trigger, instead of Scroll To to take user to a sepecific section? Scroll To not working with Locomotive Scroll. I'm using the native Locomotive Scroll command now. See the Pen ZEoVeyr by emdesigner-or (@emdesigner-or) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted October 17, 2022 Share Posted October 17, 2022 If you were using ScrollSmoother, that'd be super easy. Unfortunately LocomotiveScroll is not a GreenSock product so we can't really support it here. However, there is a helper function in the docs that might help: https://greensock.com/docs/v3/HelperFunctions#getScrollPosition 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now