Drawer not opening and closing properly
See original GitHub issueSteps to reproduce
- Create a template based on Vuetify Pre-defined template
- Set responsive and simple data variables for the Navigation Drawer component
- Add button to open and close drawer
- Evaluate button behavior on desktop: works as expected
- Resize window until below
md
tosm
breakpoint (1024px) - Reevaluate button behavior on mobile size: overlay shows without corresponding close action, and drawer does not open.
Versions
- Vue: v2.3.4
- Vuetify: v0.12.7
- OS: Windows 10 & Linux Ubuntu
- Browser: Chrome@latest & Chromium@latest
What is expected ?
Navigation drawer should open and close when clicking on menu button, and overlay/backdrop should also close drawer when clicked.
What is actually happening ?
After resizing screen, when on mobile-sized screen, the drawer stops behaving accordingly by not opening when v-model
value changes. It only shows an action-less overlay/backdrop.
Reproduction Link
Issue Analytics
- State:
- Created 6 years ago
- Comments:9
Top Results From Across the Web
How to Fix a Drawer That Won't Close All the Way | Hunker
Step 1. Open the drawer as far as possible. Look in the back for any contents in the drawer box that might be...
Read more >Drawer Won't Stay Closed? 3 Simple Ways You Can Make it ...
2. The Tracks Aren't Leveled Properly. Another reason your drawer is having a hard time remaining shut could be the leveling of your...
Read more >How to Adjust Automatic Closing Drawers - Home Guides
Self-closing drawers work perfectly for years if they are properly adjusted to begin with. The primary reason for self-closing drawer failure is improperly...
Read more >How to Fix Problems with Soft Close Drawers - HingeOutlet
Also make sure there's no rust on the slides, as that could impact their performance. If the drawer tilts in any direction, readjust...
Read more >How to Fix Drawer Slides for Dressers & More
1. Sometimes, your drawer slides may become bent or misshapen. If this is the case, try using a pair of pliers to reshape...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I did finally get your gist.
And now both
drawer
anddialog
are working on my page. Thanks again.According to the message, be sure that you have declared
drawer
in your component’s data, like: