[NavigationDrawer] - drawer shows when defaultVisible set to false
See original GitHub issueDescription
The NavigationDrawer does not appear to be respecting the defaultVisible property.
<NavigationDrawer
navItems={[]}
contentClassName="md-grid"
drawerHeaderChildren={[]}
drawerType={NavigationDrawer.DrawerTypes.TEMPORARY}
defaultVisible={false}
toolbarTitle="Nav Drawer Bug"
toolbarChildren={[]}
contentId="main-content"
>
or
<NavigationDrawer
navItems={[]}
contentClassName="md-grid"
drawerHeaderChildren={[]}
drawerType={NavigationDrawer.DrawerTypes.PERSISTENT}
defaultVisible={false}
toolbarTitle="Nav Drawer Bug"
toolbarChildren={[]}
contentId="main-content"
>
Link to a gist or code sample where the issue can be reproduced
You can find a codepen showing this behavior here.
Version
- React - Tested with 5.14.2 and 16.0.0-beta.2
- React-MD - Tested with 1.0.17 and 1.0.18
- Browser - Tested on Chrome
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Why I set Visible Gone for Navigation Drawer but it don't work ...
But when I setNavigation() both true and false Navigation drawer shows. It wasn't hidden. And when set setNaviMenu is faulty java.lang.
Read more >Drawer Navigator | React Navigation
When this is set to open , the drawer will be open from the initial render. It can be closed normally using gestures...
Read more >How to hide Drawer Item from Drawer · Issue #2021 - GitHub
I have a screen which I would like to be part of the Drawer navigator but not to be visible as an item...
Read more >Fragment Navigation Drawer | CodePath Android Cliffnotes
We want our main content view to have the navigation bar and hence android:fitsSystemWindows is set to true for the Toolbar . To...
Read more >Getting Started with Navigation Drawer - DevExtreme
The Drawer is a dismissible or permanently visible panel that you can use for navigation in responsive web application layouts.
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 Free
Top 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
Yeah, I agree. It’s not high priority. I can totally get around it.
BTW, I want to say thank you for this library. It’s easily the most complete and configurable MD component library that I’ve come across. I’ve been extremely happy using it and I really appreciate all the work you’ve clearly put into it. Further, the couple of times that I’ve run across an issue, you’ve been more responsive than I ever would have expected for someone working on this on their own. My hat is off to you…great work.
Thank you! I am really glad you are enjoying it and it’s always great having some positive feedback about the experience to keep me motivated to work on it 😃. I’ve mostly been trying to be responsive, give feed back, and document well since it was what was missing for the other libraries (for me).
So thanks again for the feedback!