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 }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
There is an ng-animate-children="true" directive applied to the <body> element, and a second ng-animate-children="false" directive applied to a descendant <ul> element. Despite the presence of this second, overriding directive, the list items continue to animate when their containing panel's visibility is toggled.
The text was updated successfully, but these errors were encountered:
Looks like a valid bug. When ng-animate-children is on or inside an ng-if, the value only gets set after the animateQueue checks if the animations are allowed.
Previously, ngAnimateChildren would set the data on the element
in an $observe listener. This is too late when the element is
animated immediately after compilation, as happens with ngIf
Closesangular#13865
Previously, ngAnimateChildren would set the data on the element
in an $observe listener, which means the data was available after one digest happend.
This is too late when the element is animated immediately after compilation, as happens with ngIf.
Now the data is also set right in the linking function.
Fixes#13865Closes#13876
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
See this plunkr:
https://plnkr.co/edit/7qDiemoxZhXMHnf8JpdH?p=preview
There is an
ng-animate-children="true"
directive applied to the<body>
element, and a secondng-animate-children="false"
directive applied to a descendant<ul>
element. Despite the presence of this second, overriding directive, the list items continue to animate when their containing panel's visibility is toggled.The text was updated successfully, but these errors were encountered: