mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 03:00:58 +08:00
fix(angular): disable transition heuristics by default
This commit is contained in:

committed by
Manu MA

parent
4c525fd9f7
commit
d9172b7d68
@ -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,
|
||||
|
Reference in New Issue
Block a user