Fix #76 - set scrollTop property of element node rather than use scrollTo() method

th-downstream
Eugen Rochko 8 years ago
parent c02bdd64a0
commit b62d8e2d5b

@ -18,7 +18,7 @@ const scrollTop = (node) => {
return;
}
node.scrollTo(0, easingOutQuint(0, elapsed, offset, targetY, duration));
node.scrollTop = easingOutQuint(0, elapsed, offset, targetY, duration);
requestAnimationFrame(step);
};

Loading…
Cancel
Save