about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-06 16:18:32 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-06 16:18:32 +0200
commitb304cc07d525fdf0843cac419fa0e8e4bdda714e (patch)
treec2761fc09a77736bef908df1709e2a62022e3aef /app
parentb60430fe8f05eeeffb162f3b746d6cd48522b915 (diff)
Fix #76 - set scrollTop property of element node rather than use scrollTo() method
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/components/features/ui/components/column.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/features/ui/components/column.jsx b/app/assets/javascripts/components/features/ui/components/column.jsx
index 8d29243cf..499e5f4a5 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);
   };