This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
$animate.enabled
#13179Closed
Description
If you are a descendant of an element that potentially called $animate.enabled(elem, false)
, you cannot re-enable animations on yourself by calling $animate.enabled(elem, true)
It looks like when you do the latter, the element is simply removed from the internal HashMap rather than having a value toggled. As a result, the while loop that checks whether or not animations are enabled for a given element only considers whether or not a parent is disabled, not whether or not it's explicitly enabled.