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

    Swipable tabs

    Help
    1
    1
    549
    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.
    • T
      terumi last edited by

      Hello people.
      Last weekend I tried to implement swipable tabs navigation with q-route-tabs.
      What I found is that if you change a tab, the window.scrolltop is always shared by every page.
      That said, you cannot scroll a page, go to another page, scroll through it and return to the previous one and continue from where you left it.

      The closest thing I succeeded in doing is to save each tab position in a window.positions array variable and after route change to apply the stored scrolltop value for each tab.

      Now what I want to do is to flip through tabs using swipe. And during this swipe I want both pages, previous and next to be shown. Same as the Twitter app, or Instagram.
      Can this be accomplished in any way?

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