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?
I am looking for an alternative to iScroll for scrolling inside div's.
It needs to support these OS's:
And I also need pull-to-refresh functionality.
Any suggestions?
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:
overflow-y:auto
and -webkit-overflow-scrolling:touch
. Pull-to-refresh via https://github.com/dantipa/pull-to-refresh-jsoverflow-y:auto
. Own implementation for pull-to-refresh (very tricky).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.
© 2022 - 2024 — McMap. All rights reserved.
overflow-y:auto;
works best on WP8 devices but that would mean I'd need extra handling for WP8 and I'd have to implement pull-to-refresh on my own. – Catenane