tracking.js icon indicating copy to clipboard operation
tracking.js copied to clipboard

Fixed the bug when emit('stop') the requestAnimationFrame callback still run

Open fyue opened this issue 6 years ago • 3 comments

it seems that window.cancelAnimationFrame(requestId) can not work to stop the requestAnimationFrame callback run.

fyue avatar Jun 03 '18 07:06 fyue

that one worked like charm !

shershen08 avatar Oct 29 '18 17:10 shershen08

You forgot to add stopRequestAnimationFrame = false to 'run' event handler.

aliosv avatar Dec 27 '18 22:12 aliosv

Thank you!

BhavitChhatralia avatar Feb 26 '19 12:02 BhavitChhatralia