Open byteshiva opened 6 years ago
intermittent solution: observe prop change and update the v-navigtion-bar v-model accordingly.
<v-navigation-drawer
v-model="isSelectedChild"
temporary
clipped
floating
class="blue lighten-1" dark
app>
props: ['sideNav'],
data() {
return {
isSelectedChild: this.sideNav
}
},
watch: {
sideNav: function(newVal, oldVal) { // watch it
this.isSelectedChild = true;
}
}
found in
---> at src/components/Navigation/Sidebar/Sidebar.vue