diff --git a/src/modules/style.ts b/src/modules/style.ts index d046603..763d4be 100755 --- a/src/modules/style.ts +++ b/src/modules/style.ts @@ -6,6 +6,7 @@ export type VNodeStyle = Record & { remove?: Record } +// Bindig `requestAnimationFrame` like this fixes a bug in IE/Edge. See #360 and #409. var raf = (typeof window !== 'undefined' && (window.requestAnimationFrame).bind(window)) || setTimeout; var nextFrame = function(fn: any) { raf(function() { raf(fn); }); }; var reflowForced = false;