bug(form-field): matTextSuffix/matTextPrefix not vertically aligned with label
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
### 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
The label of a mat-form-field is not vertically aligned with the matTextSuffix or matTextPrefix.

Notice how the suffix and prefix are a couple or so pixels above the label
### Reproduction
StackBlitz link: https://stackblitz.com/edit/t9161j?file=src%2Fexample%2Fform-field-prefix-suffix-example.html
### Expected Behavior
Label to be vertically aligned with both matTextSuffix and matTextPrefix
### Actual Behavior
Label is not vertically aligned with both matTextSuffix and matTextPrefix
### Environment
- Angular: 16
- CDK/Material: ^16.2.7
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): macOS
Beitragsleitfaden
Rechercherichtung
Beginne mit der verknüpften StackBlitz-Reproduktion unter src/example/form-field-prefix-suffix-example.html und bestätige den vertikalen Versatz zwischen dem Label und matTextSuffix/matTextPrefix in Angular 16. Verfolge das Rendering und die Formatierung von Material form-field anhand dieses Beispiels und überprüfe anschließend, dass Label, Prefix und Suffix in der Reproduktion vertikal ausgerichtet sind.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- design, frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 30/100