Basic usage is working great!
Really enjoying the Look-and-Feel that you have provided with this Material UI Kit.
When the screen size is lg or greater, the NavDrawer is always visible.
When the screen size is less than lg, the NavDrawer is hidden and you have to click the navbar-toggler icon in order to show the NavDrawer.
When the screen size is less than lg, the only way I have been able to hide the NavDrawer is to click/touch on the screen outside of the NavDrawer space.
Given the following:
--Screen Size: less then lg
--NavDrawer: Navbar-toggler icon is clicked to show the NavDrawer.
Based on the above Given, the Behavior I am trying to implement is as follows:
--When a NavItem NavLink is clicked, would like for the NavDrawer to hide itself.
Note: I am also using a JS Router to put new content into the appContent div.
This part is working fine, just cannot get the NavDrawer to close when a NavItem/NavLink is clicked.
Below is a copy of the code being used to try and accomplish the desired behavior.
Do you have any suggestions on what to do to achieve the desired behavior?
Many thanks for the assistance and what you have provided!!
Daemonite,
I am working with the NavDrawer item.
Basic usage is working great! Really enjoying the Look-and-Feel that you have provided with this Material UI Kit.
When the screen size is lg or greater, the NavDrawer is always visible. When the screen size is less than lg, the NavDrawer is hidden and you have to click the navbar-toggler icon in order to show the NavDrawer.
When the screen size is less than lg, the only way I have been able to hide the NavDrawer is to click/touch on the screen outside of the NavDrawer space.
Given the following: --Screen Size: less then lg --NavDrawer: Navbar-toggler icon is clicked to show the NavDrawer.
Based on the above Given, the Behavior I am trying to implement is as follows: --When a NavItem NavLink is clicked, would like for the NavDrawer to hide itself.
Note: I am also using a JS Router to put new content into the appContent div. This part is working fine, just cannot get the NavDrawer to close when a NavItem/NavLink is clicked.
Below is a copy of the code being used to try and accomplish the desired behavior.
Do you have any suggestions on what to do to achieve the desired behavior?
Many thanks for the assistance and what you have provided!!
Code: