-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Proposal: allow md-sidenav to align to the bottom|top of md-sidenav-container #4396
Comments
Sound like bottom sheet. It's on the README as a future component but isn't being tracked by any issues. |
@willshowell yes, it looks like bottom-sheet would supply the |
I'm assigned to create the bottom-sheet at some point. Should we use this as the issue? |
@devversion, I imagine that question isn't directed at me, but sure. It's unclear from the material design spec for bottom sheet, but I'd like to put in a request for bottom sheet to support A) having separate components for B) |
The question was indeed directed to you. As Angular Material follows the Material specifications we mostly follow the names that have been specified there. A bottom-sheet can be only opened from the bottom and I don't think that a sidenav will have that functionality at some point. So I really think that this issue is for the bottom-sheet. |
hmm are you guys sure that it´s not https://material.io/guidelines/components/bottom-navigation.html that you are looking for? |
This is the tracking issue for the bottom-nav #408. But bottom-sheet is different to bottom-navigation. |
Very nice to have - currently in need of such a feature. :( |
@mwent-cray Depending on what your needs are, the Angular Split library might help you out. I found it after putting up this issue and it actually addresses my needs better than a bottom sheet. What you can't do with it is easily build an overlay pane. If you want to push content aside though, it's great. You can disable the ability to resize and you can also animate on open/close. |
@thefliik That's a nice package, quite useful but for a different use-case (which coincidentally I also need) I was hoping this issue would be more geared toward the bottom navigation @mackelito mentioned. |
Have been googling around for something like this as well. My use case is that I want the sidenav to basically slide open from the side of the screen a button was clicked. So on landscape it could open from left or the right, and on portrait the buttons would be on the top and bottom. Any ideas even as a workaround? I briefly looked at the CSS but it seems like it might not be straightforward to write a couple lines of CSS to change the way it opens. |
Try something like this as an override for a workaround. .bottom{ |
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends. Find more details about Angular's feature request process in our documentation. |
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage. We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package. You can find more details about the feature request process in our documentation. |
We're in the process of cleaning up our issue backlog. I'm closing this issue, because it's unlikely that we'll implement the feature as proposed. While the Material Design spec has a bottom navigation, it's not the same as a sidenav positioned at the bottom. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Bug, feature request, or proposal:
feature request
What is the expected behavior?
md-sidenav
should be able to align to thebottom
andtop
of amd-sidenav-container
, in addition aligning to thestart
orend
(right or left) of amd-sidenav-container
. I imagine, to simplify implementation, it will be necessary to limit a specific instance ofmd-sidenav-container
to either containingmd-sidenav
's inbottom
/top
alignment orstart
/end
alignment.What is the current behavior?
md-sidenav can only align to the
start
orend
(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 gaintop
alignment functionality as well.The text was updated successfully, but these errors were encountered: