Fallback requestAnimationFrame has a 10ms setTimeout
This commit is contained in:
parent
24420595c0
commit
a0d882d360
|
@ -367,7 +367,7 @@ Layout.requestAnimationFrame = __bind(window.requestAnimationFrame ||
|
|||
window.oRequestAnimationFrame ||
|
||||
window.msRequestAnimationFrame ||
|
||||
function(callback, element) {
|
||||
window.setTimeout(callback, interval);
|
||||
window.setTimeout(callback, 10);
|
||||
}, window);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user