@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.
- package/bundles/coolon-angular-ui-powerups.umd.js +8 -4
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/esm2015/lib/place/guards/navigation-state.js +9 -5
- package/esm5/lib/place/guards/navigation-state.js +9 -5
- package/fesm2015/coolon-angular-ui-powerups.js +8 -4
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +8 -4
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/package.json +1 -1
|
@@ -4863,10 +4863,14 @@
|
|
|
4863
4863
|
*/
|
|
4864
4864
|
function (event) {
|
|
4865
4865
|
// Depending on the state of the router and what was done we get a different
|
|
4866
|
-
// sequence of events.
|
|
4867
|
-
// with the locationChangeTriggerUrl as the final event.
|
|
4868
|
-
//
|
|
4869
|
-
|
|
4866
|
+
// sequence of events.
|
|
4867
|
+
// If the navigation change was triggered by clicking a link we'll get a cancel with the locationChangeTriggerUrl as the final event.
|
|
4868
|
+
// 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.
|
|
4869
|
+
if (this.gotPopStateWithLeavingUrl && this.interactionService.isActive()) {
|
|
4870
|
+
/** @type {?} */
|
|
4871
|
+
var interactionIds = this.interactionService.activeInteractionContextIds.value;
|
|
4872
|
+
this.resetBrowserLocation(this.placeRouter.parseUrl(this.startingUrl).updateInteractionIds(interactionIds).url);
|
|
4873
|
+
}
|
|
4870
4874
|
return this.gotPopStateWithLeavingUrl || this.locationChangeTriggerUrl === event.url ? this.createIdleState() : this.ignore(event);
|
|
4871
4875
|
};
|
|
4872
4876
|
/**
|