bug(mat-form-field): Input and Select have different height
- Langage dominant
- TypeScript
- Étoiles
- 25k
- Forks
- 6.8k
- Merge moyen
- 1 j 8 h
- PR mergées (30 j)
- 91
Description
### 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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par la reproduction StackBlitz liée à src/app/form-field-overview-example.ts et comparez les MatFormFields Input et Select rendus dans Chrome DevTools. Suivez la différence de hauteur dans les styles Material form-field ; le travail est terminé lorsque les champs adjacents ont des hauteurs identiques et que la reproduction n'affiche plus l'écart de 0.875px.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- angular, typescript
- Domaine
- frontend
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 38/100