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

    Close drawer swiping on the drawer itself

    Help
    drawer
    3
    5
    525
    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.
    • J
      jvmonjo last edited by jvmonjo

      I have looked for it in the documentation and in the GitHub issues and I have found nothing about it.

      In previous versions to 1.0 it was possible to close the drawer by swiping “on” the drawer itself. Now it’s only possible by doing it outside the drawer.

      Am I missing something? Is there any settings to change this behavior?

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

        @jvmonjo just tried the examples in the docs, swipe to open/close the drawer is working fine.

        J 1 Reply Last reply Reply Quote 0
        • J
          jvmonjo @metalsadman last edited by

          @metalsadman I mean, try https://v1.quasar-framework.org/start/pick-quasar-flavour

          You can open the drawer. But to close it you have to swipe OUTSIDE the drawer. You can’t do it by swiping on the drawer itself. At least from my Android 9. I’ve tried Chrome and Firefox.

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

            hmm yep seem to be that way, but dunno which is the correct behavior tbh, usually i’ll be swiping at the edge of the drawer to close it when using mobile anyway.

            1 Reply Last reply Reply Quote 0
            • rstoenescu
              rstoenescu Admin last edited by rstoenescu

              Reference: https://github.com/quasarframework/quasar/issues/4033

              This was by design for v1, but re-analyzed and it can be added back and connected with the no-swipe-close Boolean prop (which was doing nothing; bug!).
              Extract from addition to docs:

              By default, QDrawer has touch actions attached to it. If this interferes with your drawer content components, disable it by specifying the Boolean no-swipe-close property.

              This will be available in Quasar 1.0.0-beta.21

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