-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drawer alignment below the appBar #11217
Comments
This demo renders the drawer bellow the AppBar: https://material-ui.com/demos/drawers/#clipped-under-the-app-bar |
Clipped drawer doesn't have facility to close and open drawer, it will just stick as side navigation. |
@code4arpit Then you won't find your answer here. Maybe you can try StackOverflow. We will add some layout demo in the future with #10986 |
Same problem here. Stack Overflow doesn't seems to have a response to. |
Same here, is there some modifications since last time? I found no answer or exemple of it in the documentation https://material-ui.com/demos/drawers/ |
You can use the z-index css property for layering AppBar above the Drawer By default this class is applied on the AppBar component keep the Drawer components variant to be "temporary" for responsiveness |
It worked for me thank you! |
adding My problem was that in production build the const useStyles = makeStyles((theme) => ({
backdrop: {
zIndex: theme.zIndex.drawer + 1,
color: '#fff',
},
}), { name: 'HookGlobalStyles', index: 2 }); |
I am also in the same case. Drawer with Works for me. |
Hey @yhay81, can you please give us a working sandbox? Thanks |
Hi,
how can we place drawer (either it is permanent or responsive drawer) below the appbar ?
All the examples provided in material-ui-next web page , are starts with Appbar.
My required is to keep Appbar fixed and drawer should be open and close below the appbar.
Thanks
The text was updated successfully, but these errors were encountered: