Closed djk12587 closed 6 years ago
When the first refresh happens and there is no new content, no matter where the user scrolls this would trigger another refresh. This simply checks the direction of the scroll. If the scroll is up, then don't trigger a refresh.
@djk12587 awesome! Thanks a lot for sending the PR. I'll pull it tomorrow and play around but I don't expect it do any harm :) 👍
Landed in https://github.com/pronebird/UIScrollView-InfiniteScroll/commit/352019917465cbf12bfaa4ef94fde44cf2d88a23
When the first refresh happens and there is no new content, no matter where the user scrolls this would trigger another refresh. This simply checks the direction of the scroll. If the scroll is up, then don't trigger a refresh.