You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Style recalculations will cause animate.enter and animate.leave to misbehave #63006
Which @angular/* package(s) are the source of the bug?
core
Is this a regression?
No
Description
If an animate.enter or animate.leave is specified, and something on the page triggers a style recalculation, this will cause element.getAnimations() to be empty. The animation API relies on getAnimations() for cancelling and knowing when the longest animation has finished. Without this information, enter classes don't get removed and leave animations don't remove the element.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run ng version)
Activity
fix(core): fixes empty animations when recalculating styles
fix(core): fixes empty animations when recalculating styles
fix(core): fixes empty animations when recalculating styles
fix(core): fixes empty animations when recalculating styles
fix(core): fixes empty animations when recalculating styles
angular-automatic-lock-bot commentedon Sep 6, 2025
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.