creativetimofficial / bootstrap-vue-argon-dashboard

108 stars 500 forks source link

AuthLayout fix for mobile navigation #2

Open tominal opened 3 years ago

tominal commented 3 years ago

I noticed that the navbar immediately hides after tapping the navbar icon on a mobile device. To reproduce the issue I'm describing, clone the repo, serve it, then open up the login page in Chrome and adjust the window width to a mobile width. The demo page for this repo works just fine so I wonder if this was fixed already and not pushed.

This can be fixed by using Bootstrap Vue's v-b-toggle directive and removing the toggleMenu method in the BaseNav component.