Skip to content

Commit 6ab1cac

Browse files
ADjenkovSvetoslavTsenov
authored andcommitted
fix(modal): lower isModalNavigation flag when closing modal (#1378)
1 parent 3332ca2 commit 6ab1cac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: nativescript-angular/router/ns-location-strategy.ts

+2
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,8 @@ export class NSLocationStrategy extends LocationStrategy {
328328
if (!this._isModalClosing) {
329329
throw new Error("Calling startCloseModal while not closing modal.");
330330
}
331+
332+
this._isModalNavigation = false;
331333
this._isModalClosing = false;
332334
}
333335

0 commit comments

Comments
 (0)