Bottom drawer for navigation?
-
Hi,
I need a bottom drawer component, exactly like the Bottom Sheets one, but i want it for app navigation.
The docs advice against using that component for navigation, not sure why and is there an alternative for bottom navigation?Thanks,
Sean
-
@Seanitzel i suggest you use QFooter, it serves as a container to whatever you might put in it, a QToolbar/QRouteTab/QTab/QIcons/QButtons etc… https://quasar.dev/layout/header-and-footer#Introduction
simple example https://codepen.io/metalsadman/pen/oNbGgZE.
-
The thing is that i want the behavior to be exactly like the bottom sheets, i want it to open from the bottom as a drawer.
Curious about why not using it for navigation?
That kind of bottom drawer is really useful for iphone apps -
@Seanitzel you might want to go for a qdialog that has bottom position. https://quasar.dev/vue-components/dialog#Positioning likewise, you can put whatever in it, ideally you’ll have it at layout level so it stays when you are changing the router view in the layout.
-
That actually seems perfect
Thanks!