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

ng-animate skips animation "under pressure" 2 #13241

Closed
bmmpt opened this issue Nov 3, 2015 · 10 comments
Closed

ng-animate skips animation "under pressure" 2 #13241

bmmpt opened this issue Nov 3, 2015 · 10 comments

Comments

@bmmpt
Copy link

bmmpt commented Nov 3, 2015

I have a similar issue to the one reported here #12359. Before I decided to post my problem I tried the plunker pointed out as a fix to 12359: http://plnkr.co/edit/P7E5CXnuMQDpH1SiJ0pj?p=preview

It appears to me that the issue is still there when you repeatedly press the buttons randomly.

I believe my scenario is simpler and illustrates a similar problem:

http://plnkr.co/edit/YzxCThylPk4AfX0cvcfG

If you click the button to hide the label and wait for the animation to finish and then click it to show the label and wait until it finishes, all goes well. But when the animation is half way down and you click the button I would expect the label to go back up, and apparently it's happening but if you continue clicking the button, you will notice it "jumps" rather than "sliding".

Thanks in advance.

@Narretz
Copy link
Contributor

Narretz commented Nov 3, 2015

Interesting. I can only see this happen in Chrome, not in Firefox. Which browsers have you tested?

@Narretz
Copy link
Contributor

Narretz commented Nov 3, 2015

I have tested again with the latest snapshot, and I cannot reproduce the problem anymore (animate was on 1.4.3 in your plnkr).

@bmmpt
Copy link
Author

bmmpt commented Nov 3, 2015

I tested in Chrome and IE. Gave Firefox a go and it was fine like you said.

@Narretz
Copy link
Contributor

Narretz commented Nov 3, 2015

Can you please test again with the latest version: https://code.angularjs.org/snapshot/angular.js

@bmmpt
Copy link
Author

bmmpt commented Nov 3, 2015

This is the angular.js API, not angular-animate.js, right?

@Narretz
Copy link
Contributor

Narretz commented Nov 3, 2015

True, but I meant angular-animate. :) You can get the latest snapshot
for angular-animate the same way, simply replace angular.js with
angular-animate.js

Am 03.11.2015 um 19:47 schrieb Bruno Mendonca:

This is the angular.js API, not angular-animate.js, right?


Reply to this email directly or view it on GitHub
#13241 (comment).

@bmmpt
Copy link
Author

bmmpt commented Nov 3, 2015

btw, IE seems to be working though. I will replace angular-animate.js and give Chrome a try.

@bmmpt
Copy link
Author

bmmpt commented Nov 3, 2015

Thanks, Chrome is working like a charm!

I see that this issue doesn't occur in version 1.4.5 and up. But plunker's package library only has up version 1.4.3

@Narretz
Copy link
Contributor

Narretz commented Nov 3, 2015

Okay, so is this issue resolved then?

@bmmpt
Copy link
Author

bmmpt commented Nov 5, 2015

Yes, thank you for your help.

@bmmpt bmmpt closed this as completed Nov 5, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants