Skip to content

Commit

Permalink
fix(platform): resize events are dispatched inside zone
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Apr 20, 2017
1 parent 4270984 commit 83509db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 83509db

Please sign in to comment.