bug(mat-form-field): Input and Select have different height
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 91
Descripción
### Is this a regression?
- [ ] Yes, this behavior used to work in the previous version
### The previous version in which this bug was not present was
_No response_
### Description
If I put a Input-FormField next to a FormField with a MatSelect, there seems to be a height difference of 0.875px

### Reproduction
Steps to reproduce:
1. Just put both next to each other an check height using DevTools
https://stackblitz.com/edit/angular-3dch32?file=src/app/form-field-overview-example.ts
### Expected Behavior
Both MatFormFields should have the same height.
### Actual Behavior
The MatFormField with the MatSelect inside seems to be 0.875px taller.
### Environment
- Angular:
- CDK/Material: 13.2.6
- Browser(s): Google Chrome 99.0.4844.51
- Operating System (e.g. Windows, macOS, Ubuntu): Windows
Guía de contribución
Línea de trabajo
Comienza con la reproducción enlazada de StackBlitz en src/app/form-field-overview-example.ts y compara los MatFormFields de Input y Select renderizados en Chrome DevTools. Rastrea la diferencia de altura en los estilos de Material form-field; se considera terminado cuando los campos adyacentes tienen la misma altura y la reproducción ya no muestra la discrepancia de 0.875px.
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
- Bastante claro
- Aptitud para principiantes
- 38/100