fix(core): Fixes leave animation behaviors with multiple transitionend events on the same node#64225
Closed
thePunderWoman wants to merge 3 commits intoangular:mainfrom
Closed
fix(core): Fixes leave animation behaviors with multiple transitionend events on the same node#64225thePunderWoman wants to merge 3 commits intoangular:mainfrom
thePunderWoman wants to merge 3 commits intoangular:mainfrom
Conversation
These tests were not properly validating against the host binding changes due to the fact that the styles were on the wrong components in some of the host binding cases.
…est animation There may be cases where the longest animation info has been cleaned up before the end animation fires. We should still do the end processing in that case.
63c8e87 to
6d222a5
Compare
…nsitions are present Our code ensuring host binding composition for animations was causing the early exit and removal of elements when multiple transitions were present on the same element. This commit fixes the issue by ensuring that we properly keep track of all the promise resolvers on the LView and then only call them once we've properly waited for the longest animation to finish. fixes: angular#64209
6d222a5 to
ba8ad97
Compare
JeanMeche
reviewed
Oct 3, 2025
| "shimStylesContent" | ||
| ], | ||
| "lazy": [ | ||
| "DeferComponent", |
Member
There was a problem hiding this comment.
cc @devversion
We often see such a diff where the DeferComponent gets moved around. It there a way to fix that. ?
AndrewKushnir
approved these changes
Oct 3, 2025
Contributor
mmalerba
pushed a commit
that referenced
this pull request
Oct 6, 2025
…nsitions are present (#64225) Our code ensuring host binding composition for animations was causing the early exit and removal of elements when multiple transitions were present on the same element. This commit fixes the issue by ensuring that we properly keep track of all the promise resolvers on the LView and then only call them once we've properly waited for the longest animation to finish. fixes: #64209 PR Close #64225
mmalerba
pushed a commit
that referenced
this pull request
Oct 6, 2025
These tests were not properly validating against the host binding changes due to the fact that the styles were on the wrong components in some of the host binding cases. PR Close #64225
mmalerba
pushed a commit
that referenced
this pull request
Oct 6, 2025
…nsitions are present (#64225) Our code ensuring host binding composition for animations was causing the early exit and removal of elements when multiple transitions were present on the same element. This commit fixes the issue by ensuring that we properly keep track of all the promise resolvers on the LView and then only call them once we've properly waited for the longest animation to finish. fixes: #64209 PR Close #64225
leonsenft
pushed a commit
to leonsenft/angular
that referenced
this pull request
Oct 7, 2025
These tests were not properly validating against the host binding changes due to the fact that the styles were on the wrong components in some of the host binding cases. PR Close angular#64225
leonsenft
pushed a commit
to leonsenft/angular
that referenced
this pull request
Oct 7, 2025
…nsitions are present (angular#64225) Our code ensuring host binding composition for animations was causing the early exit and removal of elements when multiple transitions were present on the same element. This commit fixes the issue by ensuring that we properly keep track of all the promise resolvers on the LView and then only call them once we've properly waited for the longest animation to finish. fixes: angular#64209 PR Close angular#64225
napulitanfrontend
pushed a commit
to napulitanfrontend/angular
that referenced
this pull request
Oct 10, 2025
These tests were not properly validating against the host binding changes due to the fact that the styles were on the wrong components in some of the host binding cases. PR Close angular#64225
napulitanfrontend
pushed a commit
to napulitanfrontend/angular
that referenced
this pull request
Oct 10, 2025
…est animation (angular#64225) There may be cases where the longest animation info has been cleaned up before the end animation fires. We should still do the end processing in that case. PR Close angular#64225
napulitanfrontend
pushed a commit
to napulitanfrontend/angular
that referenced
this pull request
Oct 10, 2025
…nsitions are present (angular#64225) Our code ensuring host binding composition for animations was causing the early exit and removal of elements when multiple transitions were present on the same element. This commit fixes the issue by ensuring that we properly keep track of all the promise resolvers on the LView and then only call them once we've properly waited for the longest animation to finish. fixes: angular#64209 PR Close angular#64225
napulitanfrontend
pushed a commit
to napulitanfrontend/angular
that referenced
this pull request
Oct 11, 2025
These tests were not properly validating against the host binding changes due to the fact that the styles were on the wrong components in some of the host binding cases. PR Close angular#64225
napulitanfrontend
pushed a commit
to napulitanfrontend/angular
that referenced
this pull request
Oct 11, 2025
…nsitions are present (angular#64225) Our code ensuring host binding composition for animations was causing the early exit and removal of elements when multiple transitions were present on the same element. This commit fixes the issue by ensuring that we properly keep track of all the promise resolvers on the LView and then only call them once we've properly waited for the longest animation to finish. fixes: angular#64209 PR Close angular#64225
dilldin35
approved these changes
Oct 12, 2025
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See the commits for details, but the TL;DR is below