Skip to content
This repository has been archived by the owner. It is now read-only.

当状态为loading时,再次下拉或加载scrollTop为0了,但top-load-method还没结束 #56

Open
tengfei5000nian opened this issue Jul 12, 2018 · 0 comments

Comments

@tengfei5000nian
Copy link

handleTouchEnd(event) {
event.stopPropagation();
if (this.diff !== 0) {
if (this.state === 'trigger') {//这里应该还要考虑state='loading'
this.actionLoading();
return;
}

      // pull cancel
      this.scrollTo(0);
    }
  },
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant