From b62d8e2d5b7c63f4ad7d2dfa4e8faa6d1dd4277a Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 6 Oct 2016 16:18:32 +0200 Subject: [PATCH] Fix #76 - set scrollTop property of element node rather than use scrollTo() method --- .../javascripts/components/features/ui/components/column.jsx | 2 +- 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 index 8d29243cff..499e5f4a58 100644 --- 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); };