Skip to content

Commit c9bd05c

Browse files
crisbetojosephperrott
authored andcommitted
fix(form-field): error on IE11 when using outline appearance (#11108)
1 parent d3c8cc5 commit c9bd05c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/form-field/form-field.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ export class MatFormField extends _MatFormFieldMixinBase
420420
this._initialGapCalculated = true;
421421
return;
422422
}
423-
if (!document.contains(this._elementRef.nativeElement)) {
423+
if (!document.documentElement.contains(this._elementRef.nativeElement)) {
424424
return;
425425
}
426426

0 commit comments

Comments
 (0)