This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
ngAnimate + $$RAFProvider : crashes when browser doesn't support requestAnimationFrame or is prefixed with 'moz' #6535
Closed
Description
The RAFProvider is adding a supported
property to indicate whether the browser supports or not the requestAnimationFrame
(see
Line 18 in 04d7317
I would be happy to make a pull request on this but my question is :
is it best to add a fallback on a timeout directly in the RAFProvider or to check for the supported
property every time it is used ?
I think just adding the mozRequestAnimationFrame
would be a good start.