Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Infinite scrolling list does not scroll to top on refresh

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #11

    Default workaround for scrolling issue after store reload

    Here is my workaround (ST 2.3.1)
    Code:
    //scrolling issue        
    
    var list = Ext.ComponentQuery.query('#objectsList')[0];
    var scroller = list.getScrollable().getScroller();
    scroller.scrollToEnd(true); //!important
    scroller.scrollToTop(true); //!important

  2. #12
    Sencha User
    Join Date
    Aug 2011
    Posts
    21

    Default

    Quote Originally Posted by neolution View Post
    Here is my workaround (ST 2.3.1)
    Code:
    //scrolling issue        
    
    var list = Ext.ComponentQuery.query('#objectsList')[0];
    var scroller = list.getScrollable().getScroller();
    scroller.scrollToEnd(true); //!important
    scroller.scrollToTop(true); //!important
    I'm using the same thing. Bug is still present in Sencha Touch 2.4.

Page 2 of 2 FirstFirst 12

Posting Permissions

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