Skip to content

[Canonical]: Prevent animate.leave from firing on route navigations #67552

@thePunderWoman

Description

@thePunderWoman

Which @angular/* package(s) are relevant/related to the feature request?

core

Description

When we added nested animation support in #66848, it eliminated the confusion from many people that child animations didn't fire. Now we're receiving the opposite feedback, particularly with route navigations, where understandably, users don't always want child animations to fire. We need a mechanism for preventing this behavior other than CSS specificity.

Metadata

Metadata

Labels

area: coreIssues related to the framework runtimecore: animationsIssues related to `animate.enter` and `animate.leave`

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions