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

    Change tab on swipe

    Help
    2
    2
    1798
    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.
    • V
      Vicksel last edited by

      Does any one know how to change the view when the user swipe somewere on the screen, like the tabs from whatsapp?

      1 Reply Last reply Reply Quote 1
      • Dobromir
        Dobromir last edited by Dobromir

        Use a slider component with your content in each slide. Then you can watch the @slide event emitted from the slider and change the tabs above. Problem is that you have to have a prop for the tab nav and the currentSlide in the slider and sync them altogether which can be a pain.
        Currently the tabs component doesn’t support this out of the box. You can file an issue on github and who ever has time to do this first will try to do a PR.

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