m-pull-to-refresh
m-pull-to-refresh copied to clipboard
React Mobile Pull To Refresh
eg: ```jsx ``` if you don't set, the scroll will always trigger refresh, even you want to look more, i think this is bug;
Bumps [rc-tools](https://github.com/react-component/rc-tools) from 6.5.7 to 9.6.1. Commits See full diff in compare view Maintainer changes This version was pushed to npm by chenshuai2144, a new releaser for rc-tools since your...
In current implementation, calculated distance is always set to 0 when distance hits the damping value, preventing user to scroll in the opposite direction. This change enables user scrolls in...
In some cases, I want to stop the component being pull to trigger the action. But I did not find the diasbled option to implement. How could I disable pull?
亲测部分android机型拖动多次会拖动不了,因为 ele.scrollHeight - ele.scrollTop === ele.clientHeight + 1,所以一直判断不为edge,上拉刷新不了,所以isEdge方法可以加一行代码兼容一下。 机型为:oppo A57 > 修改isEdge函数 isEdge(ele, direction) { const container = this.props.getScrollContainer(); // 父容器需要设置height100vh,scroll auto时,scrollTop才会改变,不然一直为0 if (container && container === document.body) { //...