Dima23 Posted April 3, 2023 Share Posted April 3, 2023 Hi, I'm trying to disable smooth scroll on mobile devices but keep parallax effects with data-speed attribute. Can anybody point me in right direction how to achieve it cause no luck so far. Thanks in advance for your help. See the Pen LYJwrXJ?editors=1000 by DimaProhorenko (@DimaProhorenko) on CodePen Link to comment Share on other sites More sharing options...
GreenSock Posted April 3, 2023 Share Posted April 3, 2023 Smoothing is disabled on touch devices by default anyway. Did you try just removing your conditional block? Right now, you totally stopped anything ScrollSmoother-related on touch-only devices. 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