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.
Animation Flicker #5262
Closed
Description
I created a directive that uses the "ngShow" and "ngAnimate". When this directive is loaded by the first time, it appears and disappears (flicker).
Tried to fix by checking if the problem was in my code. I don't have idea if it is normal or not, but is strange.
For now, I fixed the problem by using the "element [0] style.display = 'none';".
In the "http://www.yearofmoo.com/2013/05/enhanced-animations-in-angularjs.html", Matias talk about this (Animations are skipped the first time after a directive is compiled).
I read others articles about that, but I believe the "problem" still happens in Angular 1.2.