We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
// 判断是否是属于下拉刷新 isPullToRefresh(el) { if (el.scrollTop == 0) { if (el.className.indexOf('rmc-pull-to-refresh') > -1) { return true; }else{ return this.isPullToRefresh(el.parentElement); } }else{ return false; } } onTouchStart = (_ele, e) => { if(!this.isPullToRefresh(e.target)) return; this._ScreenY = this._startScreenY = e.touches[0].screenY; // 一开始 refreshing 为 true 时 this._lastScreenY 有值 this._lastScreenY = this._lastScreenY || 0; }
因为我是只需要向下拉刷新,所以我就在作者代码里加了这个判断 ,基本已经解决了这个问题
Sorry, something went wrong.
我在子组建上先向上滑动了,然后向下划动,但是此时会触发下拉刷新,我目标是希望子容器达到顶部的时候才可以出发下拉,您看您是否有办法帮助我度过难关
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: