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">