-
Notifications
You must be signed in to change notification settings - Fork 679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why does loading-bar need ng-animate? #33
Comments
It seems Angular will have a fix ready next release. |
Good to see you helped with the bug! I don't have any strong preferences here, but your suggestion requires the use of bootstrap, correct? I'd like for this to remain as neutral as possible to CSS frameworks which is why I went with ng-animate. To answer your other question, the only thing I'm using ng-animate for is to provide a nicer fade in and out when inserting the loading bar and spinner into the dom. If you don't care for this, you can simply remove the ng-animate dependency. |
Good call, I didn't realize loading-bar doesn't use Bootstrap (as it feels so natural to me nowadays). But it makes sense. Actually, .fade and .in classes are very simpel and you can include them in your own style sheet of course. All they do is provide simpel CSS3 transition for fading. I would vote for less dependencies on Angular add-ons as well if possible. Your call. |
Ok, lately I've been having so many issues related to angular-animate that I'll try and replace with a simple CSS3 transition in a new branch and remove that dependency |
Hi. What's the status of this issue? I don't use angular-animate but I still want loading-bar animations. Can you provide animations support without angular-animate module? |
I did it recently in another project, and the change is trivial, but I'll need to ensure this is done in a way that doesn't break compatibility. Shouldn't be a tough change, but I haven't had a ton of time to work on it lately. Definitely in the next few weeks though. |
I have the same issue. Look forward to this fix. Good work by the way! |
👍 |
With angularjs 1.2.x ng-animate became redundant in the face of CSS3 transitions.
For example with bootstrap's .fade and .in style classes, the now preferable approach is to simply use
ng-class
:CSS3 will take care of the rest.
The real reason I'm asking is because right now ng-animate is breaking my transitions and if I remove it, loading-bar doesn't seem any different to me.
The text was updated successfully, but these errors were encountered: