Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(material/form-field): outline label position (#29138)
* fix(material/form-field): fix label position When the form field is inside an overlay with ng-content or inside a side-nav (mat-drawer) the prefix container would not be visible thus the label would overlap with the prefix. In this fix we narrow down possible cases that would require an additional check for the prefix container width. * perf(material/form-field): add caching for shadow root Add caching for shadow root so it doesn't have to be resolved each time
- Loading branch information