Refreshing the page loses pagination position
Opened this issue · 2 comments
ann-kilzer commented
Describe the bug
When I refresh the page, I lose my position in the paginated results
To Reproduce
Steps to reproduce the behavior:
- Go to https://speakher.jp/ and scroll down to the list of speakers
- Click the pagination arrows to go to results 51-100
- Refresh the browser page
- Notice you are on results 1-50!
Expected behavior
Remain on 51-100
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: OS X
- Browser Chrome
- Version 85
Additional context
This could be solved by setting the current position in local storage
dominikeinkemmer commented
Oh I didn't think about page refresh at all 😱
I think this will be difficult if not impossible though as long as airtable is the datasource as offset
is ignored in the airtablejs sdk so it would be difficult to start fetching next page results :/
ann-kilzer commented
Ahh, perhaps easier once we have a backend? #138