Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS inertial scrolling does not work #40

Closed
that1guy opened this issue May 1, 2015 · 4 comments
Closed

iOS inertial scrolling does not work #40

that1guy opened this issue May 1, 2015 · 4 comments
Labels

Comments

@that1guy
Copy link

that1guy commented May 1, 2015

Are there any solutions to get inertial scrolling working on iOS?

This is a common workaround to the inertial scroll issue when overflow-y scrolling in a container, but this does not work with vs-repeat. The elements will only render after the momentum scroll has come to a complete stop.

You can observe this behavior here by swiping quick on your iOS device.

http://kamilkp.github.io/angular-vs-repeat/#?tab=2

Love your plugin and would be awesome if you knew solution for this!

@kamilkp
Copy link
Owner

kamilkp commented May 3, 2015

I've noticed it on my iPhone. Sadly the reason for this is that the iOS Safari triggers the scroll event only after the inertia stops. IMHO this qualifies for a bug report to Apple. Try hooking up a scroll event handler with a console.log and observe on your console when the events get triggered. Compare it to how the scroll events are being triggered on a Mac OSX browser. I can't think of any solution for that.

@that1guy
Copy link
Author

that1guy commented May 3, 2015

vs-excess could partly workaround this issue, no? I only ask because vs-excess isn't working for me (probably because I have an ng-repeat inside the vs-repeat?).

@that1guy
Copy link
Author

that1guy commented May 3, 2015

Adding to the above statement.. I have another vs-repeat in my app that does not have another ng-repeat inside it and vs-excess is still not doing it's duty. I'll open a more specific issue and example.

@kamilkp
Copy link
Owner

kamilkp commented May 25, 2015

On what iOS were you testing this? I just tested on iOS 8.3 and it actually works, so it seems like Apple has fixed that :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants