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

ng-animate with css transitions broken in Safari 5.1 and lower #6601

Closed
jamessharp opened this issue Mar 7, 2014 · 4 comments
Closed

ng-animate with css transitions broken in Safari 5.1 and lower #6601

jamessharp opened this issue Mar 7, 2014 · 4 comments

Comments

@jamessharp
Copy link

In angular 1.2.14 using css transitions with angular-animate seems to be broken in Safari 5.1. The transition doesn't fire and I get a requestAnimationFrame is not defined error in the console. It works fine in 1.2.13.

I've tracked this down to this line which fails if there is no requestAnimationFrame function present.

@matsko commented in #6535 that "All browsers that support CSS animations/transitions also support RAF, therefore, there is no reason to fallback to timeout anymore" but that doesn't seem to be the case in Safari 5.1 (and lower):

The fix is probably to check $$rAF.supported and use $timeout if not.

@mparisi76
Copy link

I've also experienced this after updating to 1.2.14. Is the temporary solution to use version 1.2.13?

@szimek
Copy link

szimek commented Mar 13, 2014

Got the same issue. Is Safari 5.1 officially supported by Angular 1.x?

@IgorMinar
Copy link
Contributor

closing in favor of #6654

@IgorMinar
Copy link
Contributor

@szimek we don't officially support 5.1

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

6 participants