What's a good iScroll alternative that supports iOS, Android, WP8 and pull-to-refresh functionality?

Timo Ernst picture Timo Ernst · Jan 9, 2013 · Viewed 10.7k times · Source

I am looking for an alternative to iScroll for scrolling inside div's.

It needs to support these OS's:

  • iOS
  • Android
  • WP8

And I also need pull-to-refresh functionality.

Any suggestions?

Answer

Timo Ernst picture Timo Ernst · Jan 17, 2013

After days of evaluation, I came to the conclusion that there is no framework or library out there that fits all my needs. So, the only choice left was to create a custom solution for each operating system. This is what I came up with:

  • iOS < 5: iScroll
  • iOS >= 5: Native scrolling via CSS properties overflow-y:auto and -webkit-overflow-scrolling:touch. Pull-to-refresh via https://github.com/dantipa/pull-to-refresh-js
  • Android: iScroll
  • WP8: Native scrolling via overflow-y:auto. Own implementation for pull-to-refresh (very tricky).