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.

Proposal: allow md-sidenav to align to the bottom|top of md-sidenav-container

See original GitHub issue

Bug, feature request, or proposal:

feature request

What is the expected behavior?

md-sidenav should be able to align to the bottom and top of a md-sidenav-container, in addition aligning to the start or end (right or left) of a md-sidenav-container. I imagine, to simplify implementation, it will be necessary to limit a specific instance of md-sidenav-container to either containing md-sidenav’s in bottom / top alignment or start / end alignment.

What is the current behavior?

md-sidenav can only align to the start or end (right or left) of the md-sidenav-container.

What is the use-case or motivation for changing an existing behavior?

Greater flexibility in using md-sidenav to hold website content / app tools.

Is there anything else we should know?

Personally, I’m only looking for the bottom alignment functionality, but it seems like the component might as well gain top alignment functionality as well.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:15
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

6reactions
intergalactickraigorcommented, Jan 19, 2018

Try something like this as an override for a workaround.

.bottom{ top: auto; left: 0; right: 0; bottom: 0; transform: translate3d(0,100%,0); }

<mat-sidenav-container> <mat-sidenav class="bottom"> </mat-sidenav> </mat-sidenav-conatiner>
3reactions
willshowellcommented, May 5, 2017

Sound like bottom sheet. It’s on the README as a future component but isn’t being tracked by any issues.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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