angular / angular/components

matPrefix element not aligned properly in form field with appearance fill and outline

Abierto
#12,803 20 comentarios 43 reacciones 0 asignados Ver en GitHub
area: material/form-field G material spec P2
Lenguaje dominante
TypeScript
Estrellas
25k
Forks
6.8k
Merge medio
1 d 8 h
PR fusionados (30 d)
91

Descripción

#### Bug, feature request, or proposal:
Bug

#### What is the expected behavior?
matPrefix Element should be aligned properly with matLabel in MatFormField with appearance set as "Fill" and "Outline"

#### What is the current behavior?
Not as expected

#### What are the steps to reproduce?
https://stackblitz.com/edit/angular-xfexy1

![image](https://user-images.githubusercontent.com/1287731/44534098-9d987900-a714-11e8-98aa-a7cb8e7aec70.png)

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

#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
6

#### Is there anything else we should know?

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza reproduciendo el problema de alineación en el StackBlitz enlazado usando el ejemplo de Angular 6, centrándote en matPrefix dentro de MatFormField para las apariencias fill y outline. Rastrea el rendering y el styling relevantes del form-field a partir de esa reproducción; el trabajo estará terminado cuando el elemento matPrefix se alinee correctamente con matLabel en ambas apariencias.

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

Evaluación

Stack tecnológico
angular, typescript
Área
frontend
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.