Skip to content
Snippets Groups Projects
Commit b304cc07 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

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

parent b60430fe
No related branches found
No related tags found
No related merge requests found
......@@ -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);
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment