Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 899
Timo Ernst Avatar asked Jan 09 '13 11:01

Timo Ernst


2 Answers

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).
like image 116
Timo Ernst Avatar answered Oct 16 '22 23:10

Timo Ernst


I'm not completely sure whether all the OS's are supported, but give it a try (it also has pull-to-refresh): http://zynga.github.com/scroller/

Also http://labs.ft.com/articles/ft-scroller/ is worth of trying (supports your OS requirements), although I'm not aware of whether there's way to achieve pull-to-refresh easily.

like image 29
Samuli Hakoniemi Avatar answered Oct 17 '22 00:10

Samuli Hakoniemi