You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.
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):
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.
The text was updated successfully, but these errors were encountered: