No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    [Feature request] Is it possible to get to the middle of an infinite scroll

    Framework
    3
    3
    135
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nokogiri last edited by nokogiri

      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:

      1. Currently the quasar infinite scroll only works in either direction, but not both.
      2. It does not support the feature that I mentioned above, i.e. a “timeline marker”.

      Is there a work around available?

      1 Reply Last reply Reply Quote 0
      • Lurrik
        Lurrik last edited by Lurrik

        Hi @nokogiri, can you provide a “picture example” what you want ? ^^ I can’t imagine exactly what you want

        1 Reply Last reply Reply Quote 0
        • N
          nededa last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post