angular/components
View on GitHubdocs: clarify support for ViewEncapsulation.ShadowDom
Open
#13,837 opened on Oct 26, 2018
P2area: manydocselementshelp wanted
Repository metrics
- Stars
- (24,044 stars)
- PR merge metrics
- (Avg merge 3d 12h) (98 merged PRs in 30d)
Description
Proposal
What is the expected behavior?
If ViewEncapsulation.ShadowDom is not supported, this should be called out in the docs to save developers time and frustration.
What is the current behavior?
ViewEncapsulation.ShadowDom is not supported and is not documented.
What are the steps to reproduce?
- Open https://stackblitz.com/edit/angular-i5jw3k?file=app/table-selection-example.ts
- Notice how the checkboxes aren't themed
- Open https://stackblitz.com/edit/angular-sbrzfb?file=app/input-overview-example.ts
- Notice how the inputs are not themed or styled properly
What is the use-case or motivation for changing an existing behavior?
To save developers time and frustration.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular: 7.0.0 Angular Material: 7.0.2 TypeScript: ~3.1.1 Browsers: Tested on Chrome, Firefox, and Safari latest stable versions
Is there anything else we should know?
Nope