-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
doc: Improve documentation for the infiniteHandler
#12
Comments
infiniteHandler
infiniteHandler
Thank you for the suggestions! The thing is: You should never use On the other hand, you ran into a scroll loop, which shouldn't happen, so I might look into this issue. Thanks, again! |
Thank you for the quick response and for the comment about do not I attempted to record my screen. However, now I am unable to replicate this issue after giving an async handler which is awaiting for a promise to resolve. The issue I was seeing was after the scroll to the bottom, the spinner appears and then the data keeps on loading and the spinner keeps on appearing, it never scrolls to the top where the last previous data fetch was done. If I manually scroll up, the data fetch stops. Earlier, it stopped the continuous data fetch after I removed the Again, I am now unable to reproduce this issue. So feel free to close this as well. Thanks again. |
I was just passing by and I read your comment that piqued my interest. |
This library is fantastic. Thank you for building this.
I thought I would write a suggestion to make it explicit the
infiniteHandler
working. I ran into an issue where Iawait
ed for a promise inside theinfiniteHandler
and the scroll bar went into a scroll loop. It took hours of debugging to understand that we should not beawait
ing inside theinfiniteHandler
and must return immediately. Hope will save some time for a future developer.The text was updated successfully, but these errors were encountered: