@ionic/angular 7.5.5 → 7.5.6-dev.11700068172.15ce9b35

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.
Files changed (30) hide show
  1. package/directives/control-value-accessors/index.d.ts +0 -1
  2. package/esm2020/common/providers/nav-controller.mjs +3 -3
  3. package/esm2020/directives/control-value-accessors/index.mjs +1 -2
  4. package/esm2020/index.mjs +1 -2
  5. package/esm2020/ionic-module.mjs +2 -5
  6. package/esm2020/standalone/directives/index.mjs +1 -2
  7. package/esm2020/standalone/directives/proxies.mjs +30 -1
  8. package/esm2020/standalone/index.mjs +2 -2
  9. package/fesm2015/ionic-angular-common.mjs +2 -2
  10. package/fesm2015/ionic-angular-common.mjs.map +1 -1
  11. package/fesm2015/ionic-angular-standalone.mjs +88 -115
  12. package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
  13. package/fesm2015/ionic-angular.mjs +1 -42
  14. package/fesm2015/ionic-angular.mjs.map +1 -1
  15. package/fesm2020/ionic-angular-common.mjs +2 -2
  16. package/fesm2020/ionic-angular-common.mjs.map +1 -1
  17. package/fesm2020/ionic-angular-standalone.mjs +88 -115
  18. package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
  19. package/fesm2020/ionic-angular.mjs +1 -42
  20. package/fesm2020/ionic-angular.mjs.map +1 -1
  21. package/index.d.ts +0 -1
  22. package/ionic-module.d.ts +11 -12
  23. package/package.json +2 -2
  24. package/standalone/directives/index.d.ts +0 -1
  25. package/standalone/directives/proxies.d.ts +17 -0
  26. package/standalone/index.d.ts +1 -1
  27. package/directives/control-value-accessors/radio-value-accessor.d.ts +0 -9
  28. package/esm2020/directives/control-value-accessors/radio-value-accessor.mjs +0 -42
  29. package/esm2020/standalone/directives/radio.mjs +0 -62
  30. package/standalone/directives/radio.d.ts +0 -22
@@ -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
476
477
  const id = ev.restoredState ? ev.restoredState.navigationId : ev.id;
477
- this.guessDirection = id < this.lastNavId ? 'back' : 'forward';
478
- this.guessAnimation = !ev.restoredState ? this.guessDirection : undefined;
478
+ this.guessDirection = this.guessAnimation = id < this.lastNavId ? 'back' : 'forward';
479
479
  this.lastNavId = this.guessDirection === 'forward' ? ev.id : id;
480
480
  }
481
481
  });