Browse Source
The existing implementation of fakeRequestAnimationFrame did not return a timer ID, so the frame could not be cancelled if you wanted to cancel it. But if you do want to cancel it, it needs to be cancelled through clearTimeout instead of cancelAnimationFrame, because the timer IDs are different. Signed-off-by: Jonathan Barnes <jbarnes@pivotal.io>
1 changed files with 12 additions and 5 deletions
Loading…
Reference in new issue