Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    1
    Vote Rating
    0
    fkarnagi is on a distinguished road

      0  

    Lightbulb PullRefreh bug

    PullRefreh bug


    I found a bug in the PullRefresh plugin, based on sencha-touch-2.0.0-pr3.

    In the onBounceTop, currently it calls like below

    if(this.refreshFn){this.refreshFn.call(this,this.onLoadComplete,this);}
    This is the correct one...

    onBounceTop: function(y) {
    var list = this.getList(),
    scroller = list.getScrollable().getScroller();

    if (!this.isRefreshing && -y >= this.pullHeight) {
    this.isRefreshing = true;
    this.isLoading = true;

    scroller.minPosition.y = -this.pullHeight;
    this.setViewState('loading');

    if (this.getRefreshFn()) {
    this.getRefreshFn().call(this, this.onLoadComplete, this);
    }
    else {
    list.getStore().load();
    }
    }
    },
    Cheers,

    Fernando Karnagi

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    18
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report, this has been fixed for the next release.

    Sencha Inc

    Jamie Avins

    @jamieavins

Thread Participants: 1

Tags for this Thread