Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/material/form-field/directives/floating-label.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class MatFormFieldFloatingLabel implements OnDestroy {
// This is expected, but If we allow this to all happen within the same macro task it causes an
// error: `ResizeObserver loop limit exceeded`. Therefore we push the notch resize out until
// the next macro task.
setTimeout(() => this._parent._handleLabelResized());
this._ngZone.runOutsideAngular(() => setTimeout(() => this._parent._handleLabelResized()));
}

/** Subscribes to resize events. */
Expand Down
Loading