The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Smooth mousewheel page scrolling plugin Reply To: Smooth mousewheel page scrolling plugin


I think the coin finally dropped – even though mousewheel defaults to scroll, it is of course not triggered on a mobile device that doesn’t have a touchpad. Which is fine because it won’t interfere with momentum scrolling then (I’m oblivious about iPad controls though).

Works quite nicely on desktop in any case. I’m becoming a big fan of requestAnimationFrame and it’s super smooth animations.

Edit – works on Codepen but apparently not on the embedded version here since I made it into a proper chainable plugin yesterday…