-
Notifications
You must be signed in to change notification settings - Fork 561
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
jscroll does not load the new content all the time #166
Comments
Hi @munagurung - It is difficult to be sure without testing your code, but I suspect that because you are removing Try calling |
Hey, thank you for your reply. I have tried your suggestion but it is still not working. I am thinking that |
@munagurung I know this is an old post, but for anyone else who finds it later. Laravel has implemented Cursor Pagination which is more efficient for infinite scroll now. https://laravel.com/docs/8.x/pagination#cursor-pagination If you're still having issues, let me know and I can try to help you debug them. I have infinite scrolling with Laravel's cursor pagination and jscroll working on my app with a complex query and the scroll occurring in an individual div on the page. |
@wolfpack4417
i am on laravel 8 and if i use cursorPaginate it will through an error :
|
Hello,
I am using jscroll on a search page in a laravel app and it doesn't work all the time. Sometimes jscroll doesn't load the second page, I can see from the telescope that the jscroll has requested for the second page and that the app has returned a valid response. However, jscroll doesn't add the new content in the view and keeps on showing the loading html. I have attached an image of the developer tool's console log when the result does not load in the view.
My jscroll js implementation looks like this.
Any insight would be greatly appreciated. Thanks.
The text was updated successfully, but these errors were encountered: