From aac35adebcd2e8f83960662cf0deda70388c654b Mon Sep 17 00:00:00 2001 From: Nathan Walker Date: Mon, 13 Aug 2018 16:54:57 -0700 Subject: [PATCH] fix(router): navigation unresponsiveness closes https://github.com/NativeScript/nativescript-angular/issues/1484 --- nativescript-angular/router/ns-location-strategy.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nativescript-angular/router/ns-location-strategy.ts b/nativescript-angular/router/ns-location-strategy.ts index 9db95c617..08ac69221 100644 --- a/nativescript-angular/router/ns-location-strategy.ts +++ b/nativescript-angular/router/ns-location-strategy.ts @@ -360,9 +360,8 @@ export class NSLocationStrategy extends LocationStrategy { // Changing the current outlet only if navigating in non-cached root outlet. if (!this.frameService.containsOutlet(name) && this.statesByOutlet[name] /* ensure root outlet exists */) { this.currentOutlet = name; + this.frameService.addFrame(frame, name, this.currentOutlet); } - - this.frameService.addFrame(frame, name, this.currentOutlet); } const lastState = this.peekState(this.currentOutlet);