We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi. Please tell me if it is possible to make data-scroll-section to work on mobile device when i dont use "smooth: true" for smartphone.
customScroll = new LocomotiveScroll({ el: document.querySelector('[data-scroll-container]'), smooth: true, tablet: { breakpoint: breakpointNum, smooth: true }, smartphone: { breakpoint: breakpointNum } });
Desktop sticky elements working fine, don't work on mobile
The text was updated successfully, but these errors were encountered:
Having the same issue here. I Tried adding smooth touch to the options: export const locomotiveScroll = new LocomotiveScroll({ initCustomTicker: (render) => { gsap.ticker.add(render); }, destroyCustomTicker: (render) => { gsap.ticker.remove(render); }, lenisOptions: { smoothTouch: true, wheelMultiplier: 1,
}
});
Also tried adding the attribute <img data-enable-touch-speed data-scroll data-scroll-speed="0.08"
<img data-enable-touch-speed data-scroll data-scroll-speed="0.08"
Sorry, something went wrong.
No branches or pull requests
Hi. Please tell me if it is possible to make data-scroll-section to work on mobile device when i dont use "smooth: true" for smartphone.
customScroll = new LocomotiveScroll({
el: document.querySelector('[data-scroll-container]'),
smooth: true,
tablet: {
breakpoint: breakpointNum,
smooth: true
},
smartphone: {
breakpoint: breakpointNum
}
});
Desktop sticky elements working fine, don't work on mobile
The text was updated successfully, but these errors were encountered: