Skip to content
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

Style overlay backdrop for MdSidenav #4482

Closed
Dunos opened this issue May 11, 2017 · 6 comments
Closed

Style overlay backdrop for MdSidenav #4482

Dunos opened this issue May 11, 2017 · 6 comments
Assignees
Labels
area: material/sidenav feature This issue represents a new feature or feature request rather than a bug or bug fix needs: discussion Further discussion with the team is needed before proceeding P4 A relatively minor issue that is not relevant to core functions

Comments

@Dunos
Copy link

Dunos commented May 11, 2017

Feature Request

What is the expected behavior?

Add an extra parameter to the MdSidenav element to add or remove backdrop shadow (just like the new hasBackdrop being implemented in #2822, and also being able to change its color.

What is the current behavior?

Backdrops only can be changed via global styles or custom CSS with /deep/

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

To remove/style backdrops for specific sidenavs. One sidenav may not need a backdrop, or a backdrop with a different color or opacity.

@jelbourn jelbourn added the feature This issue represents a new feature or feature request rather than a bug or bug fix label May 11, 2017
@Lior-G
Copy link

Lior-G commented Jun 22, 2017

I would agree and would like to see this.
I had not notice before this was opened when I opened #5300

@TobiasVdb
Copy link

+1

@mittcoats
Copy link
Contributor

+1 -- this would be very helpful

@mmalerba mmalerba added the P4 A relatively minor issue that is not relevant to core functions label Nov 21, 2017
@SvenBudak
Copy link

I am currently doing a themeSwitcher what is located in the SnackBar. it would be awesome if its possible to fade the background out and in on functionCall. It makes sense to show the backdrop to show people that there is something opend at bottom of screen (The SnackBar) but after they realize it, and change the color, they need to see the real color change of layout. so the Backdrop is anyoing in that moment they try to find the best color.

@mmalerba mmalerba added needs: discussion Further discussion with the team is needed before proceeding and removed discussion labels Mar 3, 2020
@crisbeto
Copy link
Member

Closing since this has always been possible by targeting the mat-drawer-backdrop CSS class.

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators May 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: material/sidenav feature This issue represents a new feature or feature request rather than a bug or bug fix needs: discussion Further discussion with the team is needed before proceeding P4 A relatively minor issue that is not relevant to core functions
Projects
None yet
Development

No branches or pull requests

9 participants