bug(mat-form-field): mat-form-field appearance outline with mat-icon as matPrefix inside a mat-tab #26271
Labels
area: material/form-field
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Is this a regression?
The previous version in which this bug was not present was
13
Description
If we have a
<mat-form-field appearance="outline">
containing a<mat-icon matPrefix>
inside a<mat-tab>
that is not displayed initially, the label isn't positioned correctly.Reproduction
Steps to reproduce:
https://stackblitz.com/edit/angular-ivy-svduwe?file=src%2Fapp%2Fapp.component.html,angular.json,src%2Fstyles.scss,src%2Fapp%2Fapp.module.ts,src%2Findex.html
Expected Behavior
The text should be aligned correctly after the icon
Actual Behavior
Environment
The text was updated successfully, but these errors were encountered: