Skip to content

Commit

Permalink
fix(nav): animated opts
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat committed Mar 27, 2018
1 parent 726938f commit 57a5d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/components/nav/nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ export class NavControllerBase implements NavOutlet {
}

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;
}
const mode = opts.animation || this.config.get('pageTransition', this.mode);
Expand Down

0 comments on commit 57a5d49

Please sign in to comment.