Skip to content

feat(core): add support for nested animations#66848

Merged
AndrewKushnir merged 1 commit intoangular:mainfrom
thePunderWoman:nested-animations
Feb 6, 2026
Merged

feat(core): add support for nested animations#66848
AndrewKushnir merged 1 commit intoangular:mainfrom
thePunderWoman:nested-animations

Conversation

@thePunderWoman
Copy link
Copy Markdown
Contributor

Now if there's a leave animation nested within a template, those will animate before the parent element is removed. This makes animating leaving elements a bit easier than before and adds a lot more flexibility to how animations can be structured.

fixes: #66476

@thePunderWoman thePunderWoman added action: review The PR is still awaiting reviews from at least one requested reviewer area: core Issues related to the framework runtime target: minor This PR is targeted for the next minor release labels Jan 30, 2026
@ngbot ngbot bot added this to the Backlog milestone Jan 30, 2026
@angular-robot angular-robot bot added the detected: feature PR contains a feature commit label Jan 30, 2026
@thePunderWoman thePunderWoman marked this pull request as draft January 30, 2026 23:50
@thePunderWoman thePunderWoman removed the request for review from atscott January 30, 2026 23:50
@thePunderWoman thePunderWoman force-pushed the nested-animations branch 7 times, most recently from 1bc2f1b to dcbd472 Compare February 3, 2026 00:03
@thePunderWoman thePunderWoman marked this pull request as ready for review February 3, 2026 01:59
@thePunderWoman
Copy link
Copy Markdown
Contributor Author

TGP

@thePunderWoman
Copy link
Copy Markdown
Contributor Author

TGP is green

@thePunderWoman thePunderWoman force-pushed the nested-animations branch 3 times, most recently from 39df341 to 0c48945 Compare February 4, 2026 00:29
Now if there's a leave animation nested within a template, those will animate before the parent element is removed. This makes animating leaving elements a bit easier than before and adds a lot more flexibility to how animations can be structured.

fixes: angular#66476
@thePunderWoman thePunderWoman added action: merge The PR is ready for merge by the caretaker merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Feb 5, 2026
@thePunderWoman
Copy link
Copy Markdown
Contributor Author

Caretaker note: the TGP is green. This is safe to merge.

@AndrewKushnir AndrewKushnir merged commit ea2016a into angular:main Feb 6, 2026
20 of 22 checks passed
@AndrewKushnir
Copy link
Copy Markdown
Contributor

This PR was merged into the repository. The changes were merged into the following branches:

@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Mar 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: core Issues related to the framework runtime detected: feature PR contains a feature commit merge: caretaker note Alert the caretaker performing the merge to check the PR for an out of normal action needed or note target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(animate.leave) doesn't work on host

3 participants