joehewitt / scrollability

Imitates iOS native scrolling in JavaScript.
http://joehewitt.github.com/scrollability
Other
1.78k stars 146 forks source link

Is scrollability still relevant after -webkit-overflow-scrolling: touch #30

Closed mech closed 12 years ago

mech commented 12 years ago

I have read some said that scrolling is improved in iOS 5 with -webkit-overflow-scrolling: touch

I am wondering if my target platform is iOS 5 will I need to use scrollability or there is some feature on scrollability that is very much still relevant?

yourfavorite commented 12 years ago

It depends on the use. Things such as snapping to positions isn't possible without javascript of some kind. Also in my experience the iOS implementation of inertial scrolling isn't perfect yet. I'm currently working on a project that will only work on iOS5 and I'm still using a modified version scrollability.

jamieholst commented 12 years ago

In my experience -webkit-overflow-scrolling: touch works pretty well as long as you keep an eye on parent nodes and position: fixed

That said, there's still no way to have JavaScript events fired during scrolling, so Scrollability and the likes are still required if you e.g. want to lazy-load content during scroll.