🐞 bug report
Affected Package
The issue is caused by package @angular/animations
Is this a regression?
It never worked
Description
animateChild does not work when used in router transitions as explained in the official documentation
animateChild should start child transitions but nothing happens.
🔬 Minimal Reproduction
stackblitz
'Content page x' should be red and slowly switch back to black when switching page.
Remove the [@routerAnimations]="prepareRoute(outlet)" and switch page to confirm that the animation is working but just not triggered.
🔥 Exception or Error
No error shown.
🌍 Your Environment
Angular Version:
Anything else relevant?
🐞 bug report
Affected Package
The issue is caused by package @angular/animationsIs this a regression?
It never workedDescription
animateChilddoes not work when used in router transitions as explained in the official documentationanimateChildshould start child transitions but nothing happens.🔬 Minimal Reproduction
stackblitz
'Content page x' should be red and slowly switch back to black when switching page.
Remove the
[@routerAnimations]="prepareRoute(outlet)"and switch page to confirm that the animation is working but just not triggered.🔥 Exception or Error
No error shown.
🌍 Your Environment
Angular Version:
Anything else relevant?