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 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,551
    Answers
    3931
    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! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  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
  •