When the browser is of a certain size width I want the navigation drawer component to revert to mini rather than hide like its doing by default:
https://vuetifyjs.com/en/components/navigation-drawers/#api
<template>
<v-navigation-drawer
app
floating
>
<v-list nav rounded>
<v-list-item link>
<v-list-item-icon>
<v-icon>mdi-heart</v-icon>
</v-list-item-icon>
<v-list-item-title>Heart</v-list-item-title>
</v-list-item>
</v-list>
</v-navigation-drawer>
</template>
<script>
export default {
name: "AppNavigation",
data: () => ({
})
}
</script>
<style scoped>
</style>
Expected behavior
When I reduce the browser width, it should show the v-list icons like the mini variant, or expand on hover.
Actual behavior
The navigation drawer disappears completely by design but not sure how to stop this in the correct way.
Ideas
There is the permanent flag but how would I detect the screen size has changed? I could do a combination of permanent and mini.sync