5 ms·
It's such a shame it's still impossible (AFAIK, would love to be corrected) to accurately hook into momentum scrolling on iOS Safari. window.scrollTop only cha
by andy_ppp 11y ago
It's such a shame it's still impossible (AFAIK, would love to be corrected) to accurately hook into momentum scrolling on iOS Safari. window.scrollTop only changes once the scroll momentum has finished.
Be pretty simple for Apple to pass this information in requestAnimationFrame but of course they don't.
Don't even talk to me about the mess that is replacing the native scrolling!
- temo4ka 11y agoSafari serves a very important role of showing users how decidedly inadequate web experience is compared to native.
- ninjay 11y agoI think this was changed in iOS 8 http://developer.telerik.com/featured/scroll-event-change-ios-8-big-deal/ http://developer.telerik.com/featured/scroll-event-change-io...
- andy_ppp 11y agoThis does not seem to be true for me in iOS 9.1: try this... http://johnpolacek.github.io/superscrollorama/ http://johnpolacek.github.io/superscrollorama/ The article does mention scrollerama so no idea what is going on.