@ionic/angular 7.5.6-dev.11700068172.15ce9b35 → 7.5.6-dev.11700086473.1eebae2a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -473,9 +473,9 @@ class NavController {
473
473
  if (router) {
474
474
  router.events.subscribe((ev) => {
475
475
  if (ev instanceof NavigationStart) {
476
- // restoredState is set if the browser back/forward button is used
477
476
  const id = ev.restoredState ? ev.restoredState.navigationId : ev.id;
478
- this.guessDirection = this.guessAnimation = id < this.lastNavId ? 'back' : 'forward';
477
+ this.guessDirection = id < this.lastNavId ? 'back' : 'forward';
478
+ this.guessAnimation = !ev.restoredState ? this.guessDirection : undefined;
479
479
  this.lastNavId = this.guessDirection === 'forward' ? ev.id : id;
480
480
  }
481
481
  });