Please add in sidenav Navigation drawer a (Mini variant)
See original GitHub issueBug, feature request, or proposal:
feature
What is the expected behavior?
is very hard or impossible to add min variant
What is the current behavior?
The sidenave is hiding completely, I want to control the min-width on close
What are the steps to reproduce?
Providing a StackBlitz reproduction is the best way to share your issue.
StackBlitz starter: https://goo.gl/wwnhMV
What is the use-case or motivation for changing an existing behavior?
I very hard for me to make this, is very important for me because I build most of the time Desktop apps with google material.
Add this feature ass extra for desktop developers
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
the latest:
- Windows 10 Pro
- “@angular/cli”: “1.6.5”,
- “typescript”: “~2.5.3”
- “@angular/material”: “^5.1.0”,
Is there anything else we should know?
Yes Add this
<mat-sidenav-container>
<mat-sidenav
#adminNavMenu
mode="side"
opened="true"
variantMin="60px" <=== I need to add this input is importand.
variantMax="250px"> <=== I need to add this input is importand.
<!-- MENU LEFT -->
<app-admin-menu-left></app-admin-menu-left>
</mat-sidenav>
</mat-sidenav-container>
@input variantMin = the min-width, default set this to 0
@input variantMax = the max-width, default set this to 250 || auto
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How to impliment a sidenav Navigation drawer with a (Mini ...
this variable track the value between sessions. private _sideState: any = 'open'; /** This is the mini variant solution with animations ...
Read more >How To Create A Mini Nav With Angular Material's Sidenav.
Quick & easy guide to implementing a side nav drawer with a mini variant for your Angular application. Angular Material allows you to...
Read more >Angular 6 - Material Sidenav with Half Close Mode - YouTube
Check out my gear on Kit: https://kit.com/codewithsriniIn this lecture we gonna look at a behaviour in angular material sidenav.
Read more >Material UI Tutorial #13 - Permanent Drawer - YouTube
Hey gang, in this Material UI tutorial we'll see how to make a permanent side drawr for our navigation.
Read more >Sidenav - Angular Material
The drawer component is designed to add side content to a small section of your app. This is accomplished using the <mat-drawer-container> ,...
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
It’s still a duplicate request. Opening a similar issue won’t get it solved faster. Please use the original issue to address your need for this feature.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.