mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(nav): animated opts
This commit is contained in:
@ -660,7 +660,7 @@ export class NavControllerBase implements NavOutlet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private getAnimationBuilder(opts: NavOptions) {
|
private getAnimationBuilder(opts: NavOptions) {
|
||||||
if (opts.duration === 0 || !this._init || this.animated === false || this._views.length <= 1) {
|
if (opts.duration === 0 || opts.animate === false || !this._init || this.animated === false || this._views.length <= 1) {
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
const mode = opts.animation || this.config.get('pageTransition', this.mode);
|
const mode = opts.animation || this.config.get('pageTransition', this.mode);
|
||||||
|
Reference in New Issue
Block a user