Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

gcsLookup cache is not flushed in No-Op animator. #12518

Closed
bennadel opened this issue Aug 7, 2015 · 0 comments
Closed

gcsLookup cache is not flushed in No-Op animator. #12518

bennadel opened this issue Aug 7, 2015 · 0 comments

Comments

@bennadel
Copy link

bennadel commented Aug 7, 2015

Right now, the animation process only flushes the gcsLookup and the gcsStaggerLookup cache in the request animation frame callback. This creates an interesting edge-case in which a no-op animation on a given element will prevent a subsequent animation from taking place. I've tried to outline my findings here:

http://www.bennadel.com/blog/2884-possible-bug-empty-animations-are-cached-in-angularjs-1-4.htm

You can fix this by flushing the cache within the closeAndReturnNoopAnimator() function; but, I am not familiar enough with the animation process to know if this is a good idea or if it will have unforeseen consequences in more complex animations.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant