Carl Posted August 6, 2020 Share Posted August 6, 2020 Hi, I tried to incorporate Locomotive Scroll by doing a copy-paste job from the demo in the docs. It went pretty well. However, on Chrome and FireFox (mac) you'll see that the scroller-start and scroller-end markers jump vertically. If I set pin:true you will see that car does a similar vertical jitter. I suspect I set something up wrong with the css, but have been staring at it for quite awhile. Would appreciate any help See the Pen dyMPMYe by snorkltv (@snorkltv) on CodePen 1 Link to comment Share on other sites More sharing options...
ZachSaucier Posted August 6, 2020 Share Posted August 6, 2020 Hey Carl. If you uncomment the line that syncs the two it seems to remove the jitter to me: locoScroll.on("scroll", ScrollTrigger.update); 4 Link to comment Share on other sites More sharing options...
Carl Posted August 6, 2020 Author Share Posted August 6, 2020 beautiful. I had a feeling it was something dumb on my end. Thanks! 1 Link to comment Share on other sites More sharing options...
PointC Posted August 6, 2020 Share Posted August 6, 2020 Does Zach get a shout-out in the next tutorial for the assist ? 📣 1 2 Link to comment Share on other sites More sharing options...
mikel Posted August 7, 2020 Share Posted August 7, 2020 ... and sponsored by Volkswagen. 1 2 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