django-shop
django-shop copied to clipboard
Bug with endless scrolling when there are has offset
Steps to reproduce:
- Go to catalog list with auto pagination
- Add any ?offset=1 to url
- Scrolling down is endless
The situation repeats with zero offset. Disabling auto-pagination as if it was more than zero does not help here. It is necessary to refine the javascript to fix the error. I'll fix this error today
Complete
I have a question. Why use rest_framework.pagination.LimitOffsetPagination
pagination in ProductListPagination
? The rest_framework.pagination.PageNumberPagination
would do this nice for it work. And would not entail such a mistake. What is the reason for this?
Why use rest_framework.pagination.LimitOffsetPagination pagination in ProductListPagination?
Because unless you use an explicit paginator, say just next and previous buttons, it is easier to handle.
Why use rest_framework.pagination.LimitOffsetPagination pagination in ProductListPagination?
Because unless you use an explicit paginator, say just next and previous buttons, it is easier to handle.
Got it
@jrief What do you think about task? How do you like my solution? Everything is fine?
I have the same with shop system here