Skip to content
Permalink
Browse files

fix(angular): disable transition heuristics by default

  • Loading branch information...
manucorporat committed Nov 14, 2018
1 parent 4c525fd commit d9172b7d68f7cf812085e4cfb46ab36e94961e26
@@ -53,8 +53,8 @@ export class StackController {

startBackTransition() {
this.transition(
this.views[this.views.length - 2],
this.views[this.views.length - 1],
this.views[this.views.length - 2], // entering view
this.views[this.views.length - 1], // leaving view
-1,
true,
true,
@@ -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,

0 comments on commit d9172b7

Please sign in to comment.
You can’t perform that action at this time.