mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(angular): fix issue where navAnimation was being incorrectly overridden (#21508)
This commit is contained in:
@@ -187,7 +187,6 @@ export class RouterOutlet implements ComponentInterface, NavOutlet {
|
||||
await transition({
|
||||
mode,
|
||||
animated,
|
||||
animationBuilder,
|
||||
enteringEl,
|
||||
leavingEl,
|
||||
baseEl: el,
|
||||
@@ -195,7 +194,8 @@ export class RouterOutlet implements ComponentInterface, NavOutlet {
|
||||
? ani => this.ani = ani
|
||||
: undefined
|
||||
),
|
||||
...opts
|
||||
...opts,
|
||||
animationBuilder,
|
||||
});
|
||||
|
||||
// emit nav changed event
|
||||
|
||||
Reference in New Issue
Block a user