We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2946e7 commit 4ea8434Copy full SHA for 4ea8434
1 file changed
src/navigation/view-controller.ts
@@ -117,7 +117,7 @@ export class ViewController {
117
}
118
119
handleOrientationChange() {
120
- if (this.getNav().isActive(this)) {
+ if (this.getContent()) {
121
this.getContent().resize();
122
123
@@ -455,6 +455,8 @@ export class ViewController {
455
* The view is about to enter and become the active view.
456
*/
457
_willEnter() {
458
+ this.handleOrientationChange();
459
+
460
assert(this._state === STATE_ATTACHED, 'view state must be ATTACHED');
461
462
if (this._detached && this._cmp) {
0 commit comments