Close drawer swiping on the drawer itself
-
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?
-
@jvmonjo just tried the examples in the docs, swipe to open/close the drawer is working fine.
-
@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.
-
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.
-
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