robmarshall
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by robmarshall
-
-
Hi, when looking at this codepen Locomotive Scroll with ScrollTrigger scrubbing and pinning/
There is no scroll 'data-direction="" ' up or down, if you set getDirection: true, like the code example below, it does not work!
const locoScroll = new LocomotiveScroll({ el: document.querySelector(".smooth-scroll"), smooth: true, getDirection: true });
The example from https://locomotivemtl.github.io/locomotive-scroll/
has the data-direction="" within the Dom.
How do you get this code to work with your codepen example?
Thanks
<html class="is-smooth-scroll-compatible is-loaded is-ready has-scroll-init has-scroll-smooth has-scroll-scrolling" data-direction="up" lang="en">
See the Pen 1dc38ca14811bc76e25c4b8c686b653d by GreenSock (@GreenSock) on CodePen
-
-
Hi ZachSaucier,
Thank you for the fix... I also have an issue with other tweens not activing when in view. Is this something to do with the Locomotive Scroll plugin?
Please see code.
Thanks
See the Pen abdaQBz by robmarshall01 (@robmarshall01) on CodePen
-
Hi, I would like to get Locomotive Scroll to work with some parallax code and ScrollTrigger. I am using the demos
Parallax scene on scroll - ScrollTrigger
Locomotive Scroll with ScrollTrigger scrubbing and pinning
but when I add the Locomotive Scroll, it breaks the parallax code.
How do I get the parallax code to work with the Locomotive Scroll?
ThanksSee the Pen abdaOGg by robmarshall01 (@robmarshall01) on CodePen
locomotive scroll direction with ScrollTrigger
in GSAP
Posted
Thanks...