[Feature request] Is it possible to get to the middle of an infinite scroll
For example, I have a page that contains content that can fill into 200 pages. When I scroll down to page 10, click an item in the scroll to navigate to another route (with Vue router), then click back button on the browser, I am navigated to the top of the page (i.e. page 1) again. However, I am expecting to go back to the where I was, e.g. a timeline marker.
Another example: suppose that I am making a web app like Twitter. When I expand a tweet, click back button on the browser, I still get to the original location of the infinite scroll. And I can also scroll down and up, like I never have left the infinite scroll. But I don’t see any components that directly support such feature.
Here is the summary:
- Currently the quasar infinite scroll only works in either direction, but not both.
- It does not support the feature that I mentioned above, i.e. a “timeline marker”.
Is there a work around available?
Lurrik last edited by Lurrik
Hi @nokogiri, can you provide a “picture example” what you want ? ^^ I can’t imagine exactly what you want
Yes back button doesn’t work the same way as good old pre js rendering days. Try keep-alive component https://router.vuejs.org/api/#router-view
Although from your twitter example I wouldn’t use vue router to redirect user to different page just show it on the same page.