Skip to content

animate.leave does not emit animation events outside of the instructions #63391

Closed

Description

@thePunderWoman

Which @angular/* package(s) are the source of the bug?

core

Is this a regression?

No

Description

For some reason the animationend event is not propagating up to the component when it fires on animate.leave. It works for animate.enter, but even if you prevent element removal, the animationend event does not fire. This prevents anyone from adding custom logic at the end of a leave animation.

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)


Anything else?

No response

Activity

  1. added
    area: core
    core: animations
    on Aug 26, 2025
  2. added this to the needsTriage milestone on Aug 26, 2025
  3. changed the title [-]`animate.leave` does not fire `animationend`[/-] [+]`animate.leave` does not emit `animationend` outside of the instructions[/+] on Aug 26, 2025
  4. changed the title [-]`animate.leave` does not emit `animationend` outside of the instructions[/-] [+]`animate.leave` does not emit animation events outside of the instructions[/+] on Aug 26, 2025
  5. added 4 commits that reference this issue on Aug 27, 2025
    368c5de
    99c4f27
    9a58c72
    786cab0
  6. added 4 commits that reference this issue on Sep 5, 2025
    f354976
    8c21526
    9d19ff0
    b9e7715
  7. 10 remaining items

  8. added a commit that references this issue on Sep 10, 2025
    2a7cced
  9. added a commit that references this issue on Sep 10, 2025
    802dbcc
  10. added a commit that references this issue on Sep 10, 2025
    3d6eeab
  11. added 9 commits that reference this issue on Sep 10, 2025
    9f12222
    ffe4a8e
    bbd4842
    de73d46
    74acd8f
    850e2f0
    6edffe4
    4924108
    5f5828f
  12. angular-automatic-lock-bot commented on Oct 11, 2025

    @angular-automatic-lock-bot

    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.

  13. locked and limited conversation to collaborators on Oct 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area: corecore: animations

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions