Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12ecce5 commit edb75c8Copy full SHA for edb75c8
‎src/transition/transition.js
@@ -32,9 +32,12 @@ const animDurationProp = animationProp + 'Duration'
32
* transitions but not raf (e.g. Android 4.2 browser) - since
33
* these environments are usually slow, we are giving it a
34
* relatively large timeout.
35
+ *
36
+ * Binding to window is necessary to make hot reload work in
37
+ * IE in strict mode
38
*/
39
-const raf = inBrowser && window.requestAnimationFrame
40
+const raf = inBrowser && window.requestAnimationFrame.bind(window)
41
const waitForTransitionStart = raf
42
/* istanbul ignore next */
43
? function (fn) { raf(function () { raf(fn) }) }
0 commit comments