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
I was using PrimeNg and had <p-confirmDialog /> in one of the root components. It had some animations defined and it was breaking animate.leave in one of my components.
The library and this pattern is quite common and when you encounter the issue it's hard to understand what the problem is.
Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
No
Description
This code is supposed to hide the
.boxwhenToggleis clicked. It will not hide. It will animate out as expected, but then reappear.2025-10-19.18.40.57.mov
The following things must be true for the issue to exist, otherwise there is no problem:
animate.leavemust be present.provideAnimationsAsyncmust be configured.@Componentmust haveanimations, even if empty.I'm using signals in the example, but it works with ordinary properties too.
Please provide a link to a minimal reproduction of the bug
https://studio.firebase.google.com/animate-leave-27515706
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version)Anything else?
Why is this important?
I was using
PrimeNgand had<p-confirmDialog />in one of the root components. It had some animations defined and it was breakinganimate.leavein one of my components.The library and this pattern is quite common and when you encounter the issue it's hard to understand what the problem is.