Sukru Posted March 4, 2022 Share Posted March 4, 2022 Helo, i want to disable smooth scroll in mobile browser, because scroll usability is seriously reduced, locomotiv scroll can do this by default. but it doesn't suit me because I use gsap library. I wonder if a scroll without animation is possible for mobile browsers? See the Pen QWOYRLR by sukruemanet (@sukruemanet) on CodePen Link to comment Share on other sites More sharing options...
OSUblake Posted March 4, 2022 Share Posted March 4, 2022 You can disable it by killing and change some CSS. This might be better a good use case for ScrollTrigger.matchMedia as it will automatically kill the smoother. See the Pen RwjvzNm by GreenSock (@GreenSock) on CodePen 2 Link to comment Share on other sites More sharing options...
Sukru Posted March 5, 2022 Author Share Posted March 5, 2022 17 hours ago, OSUblake said: You can disable it by killing and change some CSS. This might be better a good use case for ScrollTrigger.matchMedia as it will automatically kill the smoother. Thank you very much 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