-
23 Jan 2013 2:18 AM #1
Scroll's indicator should has ratio <= 1
Scroll's indicator should has ratio <= 1
The scroll's indicator size will be bigger than scroll's container size, if list items do not fill all space of container (2-3 items for example). You could see that in documentation's example http://docs.sencha.com/touch/2-1/#!/....dataview.List
For better understanding set height to 300px.
This is not a big problem, but a bit confusing for users when the scroll fills all space even you scrollig.
To solve this, you could do next
Code:applyRatio: function(ratio) { if (isNaN(ratio) || ratio > 1) { ratio = 1; } return ratio; }
-
23 Jan 2013 7:27 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,107
- Vote Rating
- 453
Thanks for the report! I have opened a bug in our bug tracker.
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-3932
in
a recent build.


Reply With Quote