Skip to content

Using multiple sidenav's form one component i.e. md-sidenav #sidenav1, 2, 3, etc #3764

@xtianus79

Description

@xtianus79

Bug, feature request, or proposal:

feature request:
This was something you could do pretty easily in material 1.
It was shot down here from a previous post but the reasoning was a little shaky so I wanted to perhaps bring new life to the proposal.

The main reasoning is it already sort of exists if you per se call an align=start or align=end. Right there you have a way to have 2 on the page... but that isn't the best way to handle this.

Let's be honest a sidenav isn't really limited to the use of navigation. in fact, I don't know many people that do use it as navigation because it mostly just a stationary placement. don't hold me to that but in reality that is mostly what people use navigation for... not something that with a button that clicks and then poof here comes full on navigation.

Even your example illustrates this point.

the sidenav isn't a navigation... but rather a panel of information that may want to be used by the user at a specific point in time. I need to read this so click... I don't anymore so goodbye... without navigating somewhere else in a webpage. I.e. just like a modal. But a modal IMHO is used to give quick and message type information. Thanks for applying, or welcome message, or tour, or something short and sweet.

the sidenav/sidepanel / animated slider has much more utility and potential for usage... With this, you can perhaps fill out a form or display a video or read content that is tucked away from the user until the user calls upon it.

Not being able to do this multiple times on a page's component limits my possibility for doing this. I would like to get feedback but mostly I really wish this feature was put back into the side nav.

As of now is there any work around to this? Is this something you guys could implement?

What is the expected behavior?

Have multiple sidenavs on one components page

What is the current behavior?

the side panel can have 2 on a page but is limited to align start and align end

What are the steps to reproduce?

Providing a Plunker (or similar) is the best way to get the team to see your issue.
this is a plunker from your own instructions
https://plnkr.co/edit/6IKKULcBsLcp6JVhjmkZ?p=preview

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

It is perhaps time to redefine and even rename the sidenav to something more symantic such as panel or slider or panel modal or sidepanel...

Which versions of Angular, Material, OS, browsers are affected?

n/a

Is there anything else we should know?

nope

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functionsarea: material/sidenavfeatureThis issue represents a new feature or feature request rather than a bug or bug fixneeds: discussionFurther discussion with the team is needed before proceeding

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions