April 26, 2015 at 6:39 am #201108
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…