mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 17:42:15 +08:00
@ -107,6 +107,8 @@ function getAnimation(direction: RouterDirection, animated: boolean | undefined,
|
|||||||
}
|
}
|
||||||
if (direction === 'forward' || direction === 'back') {
|
if (direction === 'forward' || direction === 'back') {
|
||||||
return direction;
|
return direction;
|
||||||
|
} else if (direction === 'root' && animated === true) {
|
||||||
|
return 'forward';
|
||||||
}
|
}
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user