-
Notifications
You must be signed in to change notification settings - Fork 882
Momentum scrolling feels unnatural #6
Comments
It's virtually impossible to get the exact native performance. Since only iOS 5 allows fixed positioning (and scrolling divs which act funky), everyone is stuck writing their own scrolling library. If you can provide more info, we'll be happy to look into this. |
The iScroll-4 library has an implementation that feels pretty good. It uses a momentum function as follows:
Under an MIT-type license: https://github.com/cubiq/iscroll/blob/master/license.txt |
Sencha Touch's implementation feels better on Android than native. It can be done. |
The same occurs for the carousel. Lists and carousel seem to have a maximum speed that is well bellow the speed of my thumb / fingers. |
Scrollability is also pretty smooth. |
Sencha Touch's performance has been sub par on every device we have tested (Galaxy S, Droid, Droid Bionic, Droid X/X2). I think the issue is the easing method. @kjb please commit a patch/pull request and we'll test it. |
I broke out an iPad and found the big culprit is the CSS on the list item elements. When I remove them, scrolling is much better. We're redoing the CSS on the kitchen sink demo for the list items. Also looking into the momentum from iscroll4 |
It would also help if the "stretch tension" increased as you scroll beyond the bounds of the content, so as you drag the amount of movement becomes less. |
A lot of people seem to have opinions on how things should work, but very few are submitting patches. We're limited in time and resources for what we want to get in the 1.0 release. For the most part, we are happy with how core pieces function, so when we see requests like this it's really low on the priority list. |
@cjvraay - Ok...turns out we had something like this in another project, so it's been merged in and will be apart of the next update. |
Thanks @imaffett |
Momentum scrolling of a long list feels very different from native momentum scrolling (iOS, Android) (see http://jqmobi.com/testdrive and select "Selectors" tab.)
The text was updated successfully, but these errors were encountered: