This issue duplicates another issue.
  1. #1
    Sencha User joostvanhassel's Avatar
    Join Date
    Jan 2012
    Location
    Rotterdam, The Netherlands
    Posts
    102
    Vote Rating
    1
    joostvanhassel is on a distinguished road

      0  

    Default scrollToEnd on List with variable itemHeight

    scrollToEnd on List with variable itemHeight


    scrollToEnd(true) does not seem to work on lists with variable itemHeight; it scrolls to the point in the list that would have been the end if all items had the default itemHeight. Is there a workaround for this?

    [edit]
    some further digging showed the issue is there are errors occurring while scrolling:
    Uncaught TypeError: Object [object Object] has no method 'setMinMomentumValue'
    [/edit]

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,620
    Vote Rating
    817
    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


    What Sencha Touch 2.x.x version are you using and can you provide a local test case?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User joostvanhassel's Avatar
    Join Date
    Jan 2012
    Location
    Rotterdam, The Netherlands
    Posts
    102
    Vote Rating
    1
    joostvanhassel is on a distinguished road

      0  

    Default


    Bug seems to have been added to bug tracker already;
    http://www.sencha.com/forum/showthread.php?251776-Grouped-List-scrollTo-with-animation-causes-exceptions

    T
    he work around offered by hawkinbj doesn't solve my problem though; it prevents the errors, but the list doesn't scroll to end.