Open
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
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