@ionic/angular 7.4.3-nightly.20231004 → 7.4.4-dev.11696537016.1e5ce7a3
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.
- package/css/core.css +0 -1
- package/css/core.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/esm2020/providers/nav-controller.mjs +2 -3
- package/fesm2015/ionic-angular.mjs +1 -2
- package/fesm2015/ionic-angular.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +1 -2
- package/fesm2020/ionic-angular.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -2619,8 +2619,7 @@ class NavController {
|
|
|
2619
2619
|
router.events.subscribe((ev) => {
|
|
2620
2620
|
if (ev instanceof NavigationStart) {
|
|
2621
2621
|
const id = ev.restoredState ? ev.restoredState.navigationId : ev.id;
|
|
2622
|
-
this.guessDirection = id < this.lastNavId ? 'back' : 'forward';
|
|
2623
|
-
this.guessAnimation = !ev.restoredState ? this.guessDirection : undefined;
|
|
2622
|
+
this.guessAnimation = this.guessDirection = id < this.lastNavId ? 'back' : 'forward';
|
|
2624
2623
|
this.lastNavId = this.guessDirection === 'forward' ? ev.id : id;
|
|
2625
2624
|
}
|
|
2626
2625
|
});
|