diff --git a/src/components/nav/overlay-portal.ts b/src/components/nav/overlay-portal.ts index 3bdc6d1d7dc..4907cf8ec97 100644 --- a/src/components/nav/overlay-portal.ts +++ b/src/components/nav/overlay-portal.ts @@ -37,7 +37,9 @@ export class OverlayPortal extends NavControllerBase { // on every page change make sure the portal has // dismissed any views that should be auto dismissed on page change - app.viewDidLeave.subscribe(this.dismissPageChangeViews.bind(this)); + app.viewDidLeave.subscribe((ev) => { + !ev.isOverlay && this.dismissPageChangeViews(); + }); } @Input('overlay-portal')