New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Angular Animations - fade in / out works for DIVs, not fully for child components (not sure if bug) #55248
Comments
I find that if the child component is this, the backdrop fades in as normal, but the modal, snaps into existence. Child component
Here is the child css too
|
This was a css bug. I was using position static, rather than a position that is not static. The z-index because of this was having no effect. Resolved. |
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. |
Which @angular/* package(s) are the source of the bug?
animations
Is this a regression?
No
Description
In Angular 17,
My parent has this animation
Parent Component - animation configuration
View html element - fully works
When I apply it to the html in the template, this works fine:
Child Component - half works (on fadeIn only)
When applied to a child component though, it only works on the fade in, and immediately cuts out, instead of fades out, when the boolean in the outer @if, switches back to false.
Is this a bug, or is my approach wrong?
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
)No response
Anything else?
This could be my lack of knowledge, rather than a bug.
The text was updated successfully, but these errors were encountered: