fix(platform): resize events are dispatched inside zone

This commit is contained in:
Manuel Mtz-Almeida
2017-04-20 17:46:17 +02:00
parent 42709848db
commit 83509db55f

View File

@ -807,9 +807,9 @@ export class Platform {
if (this.hasFocusedTextInput() === false) {
this._isPortrait = null;
}
this.resize.emit();
this.zone.run(() => this.resize.emit());
}, 200);
}, { passive: true, zone: true });
}, { passive: true, zone: false });
}, 2000);
}