This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27.5k
ngAnimate leaves elements in DOM for a strange amount of time #6748
Labels
Milestone
Comments
Thanks @kamilkp for brining this up. I think there are two other similar issues, but the JSFiddle link you provided is an excellent testing demo for me to figure this out. I'm looking at this today. |
matsko
added a commit
to matsko/angular.js
that referenced
this issue
Mar 21, 2014
matsko
added a commit
to matsko/angular.js
that referenced
this issue
Mar 21, 2014
matsko
added a commit
to matsko/angular.js
that referenced
this issue
Mar 21, 2014
Fixed: http://jsfiddle.net/Ttj24/3/ |
Keep in mind that your |
Is this PR going tor merged in the 1.2.x branch? I need IE 8 support in my app so I don't want to switch to 1.3. |
@kamilkp yes. |
matsko
added a commit
to matsko/angular.js
that referenced
this issue
Mar 28, 2014
matsko
added a commit
that referenced
this issue
Mar 28, 2014
@kamilkp merged into master and the 1.2.x branch. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Example fiddle here: http://jsfiddle.net/Ttj24/2/
Try pressing enter several times (or any other keyboard key) whilst having focus on the input. On each keydown I clear the ngRepeat array, and append two elements to it.
After you run the fiddle, every
keydown
on the aforementioned input adds two newngRepeat
elements. After about 6 seconds if I hit another (e.g.)enter
key in that input all of the elements except the first two disappear (after 0.27s which is related to #6747). After that everyenter
adds two elements and removes as expected.If you change the transition duration on
.anim
to e.g.0.5s
like this (and then rerun the fiddle):the 6 seconds I wrote becomes about 3 minutes or more.
The text was updated successfully, but these errors were encountered: