All my friends come up to me and ask “Felquis, why Ionic recreate the scroll?” and my answer is:
Because there’s some differences between iOS and Android scroll events, then to be able to create features like infinite-scroll, pull to refresh they need to use another alternative to do the scroll correctly in both platforms.
Than they ask: “Cool, what kind of bugs is there between iOS and Android?”
I cant’ find any explanations on Ionic forum/issues/stack about this to share with my friends.
If is there some good information, with references I’d like to read.
So we can’t do any thing great with that, like pull to refresh or infinite scroll.
That is why we went with a js -based scrolling solution.
But whats becoming evident is that js-scrolling is becoming problematic.
So we’ve decided to create a scroll-event polyfill and see if we can depreciate js-scrolling
The problem is with old iOS right, “OLD” because… this demo works fine on iOS 8 safari (actually AMAZING), but on iOS7.1 it just doesn’t work!
Seems like iOS8 is firing events as well as manipulating the DOM while scrolling (tested in emulator). (but I can’t find any release notes talking about what is different on iOS8 ) (I really like sources to link)
So we’ve decided to create a scroll-event polyfill and see if we can depreciate js-scrolling
Do you have any content/link/article about the approach you are working on? I’ll give a talk next Saturday, I’d like to give a fresh review about whats coming in the next Ionic releases.