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.
Repository navigation
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Hidden animated panels are visible on page load #12825
This seems to have been introduced in 1.4.0-rc.0 (aka the big $animate refactoring).
I suspect it is the last breaking change from here, namely, the addClass animation is cancelled while an enter animation is in progress.
What I haven't figured out yet, is what causes the enter animation (but it is happening as you can see here).
So, I am tempted to say that this works as expected (in the sense that it's a documented breaking change).
Still have to figure out the most appropriate work-around (suggestions welcome).
Activity
[-]Hidden animated panels visible on page load[/-][+]Hidden animated panels are visible on page load[/+]Narretz commentedon Sep 11, 2015
Can you please post a demo via plnkr.co or similar that shows the problem?
Morhpeuss commentedon Sep 25, 2015
Demo: http://plnkr.co/edit/xWkbSWkKu2fMfUhRdvsk . When the application starts, you will see the hidden animated panel.
gkalpak commentedon Dec 7, 2015
A little more info:
This seems to have been introduced in 1.4.0-rc.0 (aka the big
$animaterefactoring).I suspect it is the last breaking change from here, namely, the
addClassanimation is cancelled while anenteranimation is in progress.What I haven't figured out yet, is what causes the
enteranimation (but it is happening as you can see here).gkalpak commentedon Dec 7, 2015
Aha...it's the
ngInclude, of course.So, I am tempted to say that this works as expected (in the sense that it's a documented breaking change).
Still have to figure out the most appropriate work-around (suggestions welcome).
gkalpak commentedon Dec 7, 2015
As is usually the case, moving the directive on a child element solves the issue. E.g.:
Here is an updated plnkr.
So, like I said, I am inclined to calling this a
works as expected.WDYT, @Narretz, @matsko ?
26 remaining items
NeoGenet1c commentedon May 10, 2016
Quick (& dirty) workaround is to add ng-hide class to the element.