question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please add in sidenav Navigation drawer a (Mini variant)

See original GitHub issue

Bug, 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 7

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:

Is there anything else we should know?

Yes Add this 8

 <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:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
donroycocommented, Jan 27, 2018

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.

0reactions
angular-automatic-lock-bot[bot]commented, Sep 8, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found