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

    How to automatically hide the drawer after select the item

    Help
    5
    5
    2202
    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.
    • A
      arkxu last edited by

      In the layout example:
      http://quasar-framework.org/components/layout.html

      The toolbar has a button to toggle the left drawer. But if I open the drawer from small window and click on any of the qitem, the drawer does not automatically hide.

      How to achieve that and only for mobile window? Thanks!

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

        Also what to know this.

        1 Reply Last reply Reply Quote 0
        • W
          wvansl last edited by

          This also doesnt work for me.
          In Android, I click on a item in the left drawer, then the vue file is loaded but the left drawer is still open and I cannot close it (only by pressing the back button but then you go back to the first page).

          Any ideas how to solve this?

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

            Quasar version?

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

              Add a click handler to update the variable that controls the state of your drawer.

              ex. @click=“leftDrawerOpen = !leftDrawerOpen”

              I added that to each of the <q-item> tags in my drawer.

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