-
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
Style overlay backdrop for MdSidenav #4482
Comments
I would agree and would like to see this. |
+1 |
+1 -- this would be very helpful |
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. |
Closing since this has always been possible by targeting the |
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. |
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.
The text was updated successfully, but these errors were encountered: