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

    Quasar Route Tabs not reacting to cancelling navigation

    Help
    1
    2
    70
    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.
    • D
      drew-chen last edited by drew-chen

      https://codepen.io/drew-chen/pen/ZEWEQRO

      Screenshot (9).png
      When navigating to a tab, then cancelling navigation through a navigation guard, quasar still acts as if the navigation was not cancelled. You can see that after cancelling, there’s a gray highlight over the tab clicked, even though the operation should have been cancelled.

      How do I prevent this unwanted highlight from happening when cancelling navigation?

      Also, is this a bug?

      1 Reply Last reply Reply Quote 0
      • D
        drew-chen last edited by

        I found out that this issue is related to focusing the wrong tab after opening dialogs or any popup such as javascript’s confirm.

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