mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(form-field): error on IE11 when using outline appearance (#11108)
This commit is contained in:
committed by
Joey Perrott
parent
d3c8cc5552
commit
c9bd05c5b9
@@ -420,7 +420,7 @@ export class MatFormField extends _MatFormFieldMixinBase
|
||||
this._initialGapCalculated = true;
|
||||
return;
|
||||
}
|
||||
if (!document.contains(this._elementRef.nativeElement)) {
|
||||
if (!document.documentElement.contains(this._elementRef.nativeElement)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user