angular / angular/components

docs: clarify support for ViewEncapsulation.ShadowDom

Abierto
#13,837 15 comentarios 29 reacciones 0 asignados Ver en GitHub
area: many docs elements help wanted P2
Lenguaje dominante
TypeScript
Estrellas
25k
Forks
6.8k
Merge medio
1 d 8 h
PR fusionados (30 d)
91

Descripción

#### 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?
1. Open https://stackblitz.com/edit/angular-i5jw3k?file=app/table-selection-example.ts
1. Notice how the checkboxes aren't themed
1. Open https://stackblitz.com/edit/angular-sbrzfb?file=app/input-overview-example.ts
1. 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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza revisando los dos ejemplos enlazados de StackBlitz y la documentación de Angular sobre ViewEncapsulation.ShadowDom. Actualiza la documentación relevante para indicar el estado de compatibilidad y explicar la limitación observada relacionada con los temas y los estilos; estará terminado cuando los desarrolladores puedan encontrar estas indicaciones.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
angular, typescript
Área
documentation
Tipo de issue
Documentación
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.