-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
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
Quick pull will lead to refresh twice or more times. #35
Comments
Hey, sorry for late reply. It makes sense what are you saying. I will try to fix this when I have some time. |
Or actually I am not sure, I can't reproduce that right now. Is it maybe related to this issue: |
I had tried the methods mentioned in the issue #12, but it didn't solve the problem. |
Is it possible to send project demo project that reproduces this issue? |
I am having the same problem. I don't have a demo but it is happening more often in iOS 11 using swift 4. |
If you could provide demo project, failing test case or some more detailed steps how to reproduce this that would be great. I don't understand why would this happen and I am not able to reproduce this myself. |
After some debug, this issue caused by: update scrollview's contentInset after added |
When I quickly pull the collectionView, the screen will refresh twice or more times. It seems that because the value of "loading" is not updated immediately.
if (scrollView.isDragging == false && loading == false) {
loading = true
}
These codes will be executed many times. Do you have a good method to solve it?
Thanks
The text was updated successfully, but these errors were encountered: