Skip to content
Discussion options

You must be logged in to vote

Solution:

  • Add disable-route-watcher prop to Drawer, to disable automatic hiding on route change.
  • Add following code to parent component to handle watching route and closing drawer, when in mobile mode:
mounted() {
    this.$router.afterEach(() => {
      if (this.$vuetify.display.mobile) {
        this.drawer = false;
      }
    });
  },

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by joshas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant