-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[3.0.0-rc.18] Momentum / kinetic scrolling on touch devices fails #2671
Comments
Can you check again on the tutorials site? I believe I may have fixed it. |
Yes it works like a charm, now! |
Uh I'm sorry, but I think have to reopen this :/ |
Thanks for letting me know! How is it failing? |
It scrolls, but without any momentum applied. So the behavior is the same as before the fix. |
@krix OK I found this: http://css-tricks.com/snippets/css/momentum-scrolling-on-ios-overflow-elements/ which talks about adding a The weird thing for me is that in the Chrome emulator both the divs on that demo scroll with momentum, but on the Grid pages there's no momentum. Then with testing on SauceLabs the iPad emulator does appear to scroll that div with momentum but NOT the grid with that property added. Any chance you give try adding |
Also maybe check and see if any of the other virtualized grid tools out there have demos that scroll with momentum? Like kendo grid, ember table, etc. |
@c0bra Thank you for your investigation! I will test this on monday and let you know the results. |
Good news, adding |
@krix great! Thanks so much for testing this. I will add it in today. |
Hi guys, I'm sorry to say this, but the issue reappeared in 3.0.0 RC 19. I'm also pretty sure, that the following commit is causing it: When I remove this part of the touchmove function, momentum scrolling is working again: |
@krix This should be fixed in unstable. That code segment is different than RC19. |
Hi folks,
I found a possible bug concerning momentum scrolling on touch devices.
I played around on the tutorial page for large datasets: http://ui-grid.info/docs/#/tutorial/190_large_dataset using Chrome 40.0 to emulate a touch device. The site itself has a smooth momentum scrolling, but the grid scrolls without momentum.
The same happens on my Android phone with Firefox and with Safari on an iPad (iOS 8).
Strange enough it happens to work the first time you enable the touch emulation.
If you reload the page with touch enabled or visit the page with a true touch device the problem occurs.
Could this be a timing issue?
The text was updated successfully, but these errors were encountered: