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

fix($animate): ensure ms durations are properly rounded #5181

Closed
wants to merge 1 commit into from

Conversation

matsko
Copy link
Contributor

@matsko matsko commented Nov 28, 2013

Closes #5113
Closes #5162

@mary-poppins
Copy link

Wazaa Matias

@IgorMinar
Copy link
Contributor

Wow. That's obscure.

Lgtm

@@ -1118,6 +1119,10 @@ angular.module('ngAnimate', ['ng'])
event.stopPropagation();
var ev = event.originalEvent || event;
var timeStamp = ev.$manualTimeStamp || ev.timeStamp || Date.now();

//Firefox likes to not round values up when a MS measurement is used for the animation
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a gecko bug? It seems like something that might be desirable to have addressed

@matsko
Copy link
Contributor Author

matsko commented Dec 5, 2013

MERGED

@matsko
Copy link
Contributor Author

matsko commented Dec 5, 2013

Landed as 93901bd

@matsko matsko closed this Dec 5, 2013
@matsko matsko deleted the fix_firefox_rounding branch December 5, 2013 00:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Previous html appended by ng-view wasn't removed if animation last for a while ng-repeat animation - animation classes are not removed
4 participants