TrulyNewbie Posted February 16, 2022 Share Posted February 16, 2022 Hi, I want to snap each section as I scroll. But since I've added locomotive scroll, it no longer works. I've read a bunch of threads and tried to figure it out myself, but I can't find a working solution. I'd appreciate any help! Thank you (again and again) See the Pen vYWWEqb by NewbieRuby (@NewbieRuby) on CodePen Link to comment Share on other sites More sharing options...
akapowl Posted February 16, 2022 Share Posted February 16, 2022 Hello @TrulyNewbie As far as I kniow, because of how locomotive-scroll works, it is not possible to implement ScrollTrigger's snapping with it. There is a suggestion for how to possibly approach a workaround in this thread here, but I'm not sure if it will work 100% flawlessly and I'm afraid you'll have to try and make it work yourself somehow along the lines mentioned in @GreenSock's reply in that thread. Good luck and happy scrolling! 4 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