Skip to content

Commit

Permalink
fix(loading/toast): don't call to dismiss pages if the view is an ove…
Browse files Browse the repository at this point in the history
…rlay

fixes #9589
  • Loading branch information
brandyscarney committed Dec 20, 2016
1 parent fd1b683 commit 8b25798
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/nav/overlay-portal.ts
Expand Up @@ -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')
Expand Down

0 comments on commit 8b25798

Please sign in to comment.