diff --git a/packages/scheduler/src/forks/SchedulerHostConfig.default.js b/packages/scheduler/src/forks/SchedulerHostConfig.default.js index 77e15c1000b52..149ccf38b1037 100644 --- a/packages/scheduler/src/forks/SchedulerHostConfig.default.js +++ b/packages/scheduler/src/forks/SchedulerHostConfig.default.js @@ -83,8 +83,8 @@ if ( const Date = window.Date; const setTimeout = window.setTimeout; const clearTimeout = window.clearTimeout; - const requestAnimationFrame = window.requestAnimationFrame; - const cancelAnimationFrame = window.cancelAnimationFrame; + const requestAnimationFrame = window.requestAnimationFrame && window.requestAnimationFrame.bind(window); + const cancelAnimationFrame = window.cancelAnimationFrame && window.cancelAnimationFrame.bind(window); if (typeof console !== 'undefined') { // TODO: Remove fb.me link