-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Pull to Refresh activates Infinite Scrolling #119
Comments
Hmm yeah that could be. I thought this was fixed a while ago, I'll try to give it another look soon. |
Yes, I encountered the same problem when number of cell in a tableview, say 1, is small. |
Issue #96 |
The fix: |
all |
my solution: |
+1. @anhuijhy brings up a good point. Sometimes the initial list may be small. e.g. "Get all the results since yesterday" has no guaranteed length -- but we'd still want the infinite scroll enabled if we wanted each "up swipe" to load the previous day's results. Any way to differentiate between the two swipe types (up vs. down) if the view is shorter than the frame? |
Check if the scrollView.contentOffset.y greater than 0 before changing state work for me.
|
PR #245 has @siliconprime-duc 's fix in case this project is still alive 🙇 |
I think #260 fixes this. |
My set up is very simple:
Infinite Scrolling gets called even though only Pull to Refresh should be called. Could this be because I don't have many rows in my table?
The text was updated successfully, but these errors were encountered: