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

structural animations should not animate on bootstrap #5130

Closed
matsko opened this issue Nov 25, 2013 · 2 comments
Closed

structural animations should not animate on bootstrap #5130

matsko opened this issue Nov 25, 2013 · 2 comments
Assignees

Comments

@matsko
Copy link
Contributor

matsko commented Nov 25, 2013

Since enter/leave/move all have a post digest animation, they end up performing an animation when the page loads. We need to only enable the animation after the second digest has run so that strucrtual animations won't render when the page loads.

@arthurmchr
Copy link

Is there a way to enable back structural animation in order to allow an enter animation to play upon bootstrap ?
I tried using a $timeout without success.
Here is a fiddle illustrating my purpose : http://jsfiddle.net/avOff/HQ4vc/
The second "test" word should appear in blue as defined in the enter animation module, and not in purple which is the default css.

jamesdaily pushed a commit to jamesdaily/angular.js that referenced this issue Jan 27, 2014
jamesdaily pushed a commit to jamesdaily/angular.js that referenced this issue Jan 27, 2014
@liori
Copy link

liori commented Feb 6, 2014

@avOff, if you still really really want to bring them back, here's a recipe: http://plnkr.co/edit/aoyRehXQnItGYA0EzTOC?p=preview. Works for me even in the latest AngularJS release, but remember it's just a dirty hack.

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