Derek110
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by Derek110
-
-
locomotive scroll could detect the section and setting up pop-up animation, seriously quite cool
-
I have been taking almost a week to solve this problem by myself, my problem is that if I add snap in scroller trigger variables, there is a pin spacing increasing and moving on the top, but the snap effect is working, since I really want this effect of compulsory snap scroll. If I remove snap variable everything is fine. I dont know how to use CodePen to show my code since I am using reactJs and I am the beginner of gsap and locomotive scroll, I want to make the website have the smooth behavior moving( locomotive scroll ) and gsap horizontal scroll at the same time.
I pushed my code onto Github, please whoever and take time to solve my confusion.
The related file are App.js, App.scss, HorizontalScroll.jsx, useGsap.js, useLocoScroll.js , the rest of it please ignore:
https://github.com/Derek-Y1106/TestingSee the Pen by Derek-Y1106 (@Derek-Y1106) on CodePen
locomotive scroll and gsap horizontal scroll problem ( Please help~~)
in GSAP
Posted
ScrollSmoother cannot use I am not the club of gsap