@coolon/angular-ui-powerups 0.0.107 → 0.0.108

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.
@@ -4680,10 +4680,14 @@ if (false) {
4680
4680
  */
4681
4681
  function (event) {
4682
4682
  // Depending on the state of the router and what was done we get a different
4683
- // sequence of events. I.e. If they just clicked a link we'll get a cancel
4684
- // with the locationChangeTriggerUrl as the final event. However the user
4685
- // started the initial navigation with a pop state then we'll get one of
4686
- // those with the locationChangeTriggerUrl but no cancel event with it.
4683
+ // sequence of events.
4684
+ // If the navigation change was triggered by clicking a link we'll get a cancel with the locationChangeTriggerUrl as the final event.
4685
+ // If the navigation change was triggered with a pop state then we'll get an onPopState with the locationChangeTriggerUrl but no cancel event with it.
4686
+ if (this.gotPopStateWithLeavingUrl && this.interactionService.isActive()) {
4687
+ /** @type {?} */
4688
+ var interactionIds = this.interactionService.activeInteractionContextIds.value;
4689
+ this.resetBrowserLocation(this.placeRouter.parseUrl(this.startingUrl).updateInteractionIds(interactionIds).url);
4690
+ }
4687
4691
  return this.gotPopStateWithLeavingUrl || this.locationChangeTriggerUrl === event.url ? this.createIdleState() : this.ignore(event);
4688
4692
  };
4689
4693
  /**