Results 1 to 3 of 3

Thread: Scroll Problem with lists without a fix height

  1. #1
    Sencha Premium Member
    Join Date
    Jan 2012
    Posts
    39
    Answers
    1
    Vote Rating
    0
      0  

    Question Unanswered: Scroll Problem with lists without a fix height

    I'm using lists in my sencha touch app.
    The problem is that the list cannot be scrolled correctly. It always bounces back to its position.
    See this simple demo:
    http://encarnium.de/sencha/scroll/
    B
    ut when the list has a fix height the scrolling works:
    http://encarnium.de/sencha/scroll2/
    C
    an someone tell me please what to do to make a list scrollable without setting a fix height?
    Thanks in advance.

    Gilles

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,422
    Answers
    3901
    Vote Rating
    1271
      0  

    Default

    You either need to set the size via the height/width/flex config or use a layout that will automatically manage the size of the list.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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 Premium Member
    Join Date
    Jul 2012
    Posts
    26
    Vote Rating
    4
      0  

    Default

    what layout will automatically manage the size of the list please?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •