bug(mat-form-field): Input and Select have different height
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
### 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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dalla riproduzione StackBlitz collegata in src/app/form-field-overview-example.ts e confronta i MatFormFields Input e Select renderizzati in Chrome DevTools. Traccia la differenza di altezza negli stili Material form-field; il lavoro è completato quando i campi adiacenti hanno la stessa altezza e la riproduzione non mostra più la discrepanza di 0.875px.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, typescript
- Ambito
- frontend
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 38/100