commit: b304cc07d525fdf0843cac419fa0e8e4bdda714e
parent: b60430fe8f05eeeffb162f3b746d6cd48522b915
Author: Eugen Rochko <eugen@zeonfederated.com>
Date: Thu, 6 Oct 2016 16:18:32 +0200
Fix #76 - set scrollTop property of element node rather than use scrollTo() method
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/assets/javascripts/components/features/ui/components/column.jsx b/app/assets/javascripts/components/features/ui/components/column.jsx
@@ -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);
};