error on destroy() - .style of null
Closed this issue · 4 comments
purepear commented
I believe adding clearTimeout(this.transitionTimeout);
in destroy method should fix the problem.
Right now i have no time for pull request :(
micku7zu commented
Fixing it today, thanks for the catch!
purepear commented
and also have to clean requestAnimationFrame on destroy
if (this.updateCall !== null) {
cancelAnimationFrame(this.updateCall);
}
micku7zu commented
I have to do this, I hope this weekend
micku7zu commented
Done. Thanks!