We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd1b683 commit 8b25798Copy full SHA for 8b25798
src/components/nav/overlay-portal.ts
@@ -37,7 +37,9 @@ export class OverlayPortal extends NavControllerBase {
37
38
// on every page change make sure the portal has
39
// dismissed any views that should be auto dismissed on page change
40
- app.viewDidLeave.subscribe(this.dismissPageChangeViews.bind(this));
+ app.viewDidLeave.subscribe((ev) => {
41
+ !ev.isOverlay && this.dismissPageChangeViews();
42
+ });
43
}
44
45
@Input('overlay-portal')
0 commit comments