Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-3932 in a recent build.
  1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    32
    Vote Rating
    1
    A.Tyshchyk is on a distinguished road

      0  

    Default 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;
        }

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,347
    Vote Rating
    846
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

Thread Participants: 1