Bug, feature request, or proposal:
Bug? proposal?
What is the expected behavior?
When using the configuration backdropClass and setting a custom class the original overlay css should remain. I believe the implication here is that a person would want their own backdrop class to color the overlay.
Also, one consequence of this is it is nice to have a class that is custom per the dialog box however, one can only reach the sibling div by adding a + or ~ operator to the css class.
What is the current behavior?
this class is removed
.cdk-overlay-dark-backdrop {
background: #000;
}
What are the steps to reproduce?
any plnkr will show this
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: https://goo.gl/DlHd6U
What is the use-case or motivation for changing an existing behavior?
Adding a class should be the requisite for removing a class... I mean a simple override would have the same affect. The ability to add a class allows for full customization per dialog box which is better functionality. If the purpose is to remove the class and then add ones own class that should be a 2 step configuration process or at least let the api give that particular twofer option
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
ang 4.2.0.beta1 Material 2.0.0-beta.5
Is there anything else we should know?
nope.