fix(angular): fix issue where navAnimation was being incorrectly overridden (#21508)

This commit is contained in:
Liam DeBeasi
2020-06-11 13:30:58 -04:00
committed by GitHub
parent 7c8f621536
commit e968bd029a

View File

@@ -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