fix(angular): disable transition heuristics by default

This commit is contained in:
Manu Mtz.-Almeida
2018-11-14 18:09:08 +01:00
committed by Manu MA
parent 4c525fd9f7
commit d9172b7d68
2 changed files with 5 additions and 5 deletions

View File

@ -13,7 +13,7 @@ export const enum NavIntent {
@Injectable()
export class NavController {
private intent: NavIntent = NavIntent.Auto;
private intent: NavIntent = NavIntent.Root;
private animated = true;
private stack: string[] = [];
@ -79,8 +79,8 @@ export class NavController {
animated = this.animated;
direction = intentToDirection(this.intent);
}
this.intent = NavIntent.Auto;
this.animated = true;
this.intent = NavIntent.Root;
this.animated = false;
return {
direction,