From 859bc9c3b5bd9a711e0cb4360253f755945ffeb2 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 3 Jun 2022 14:00:56 -0500 Subject: [PATCH] ScollTopButton: disable smooth scrolling --- app/soapbox/components/scroll-top-button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/components/scroll-top-button.tsx b/app/soapbox/components/scroll-top-button.tsx index eb5d00593..5de90abb6 100644 --- a/app/soapbox/components/scroll-top-button.tsx +++ b/app/soapbox/components/scroll-top-button.tsx @@ -49,7 +49,7 @@ const ScrollTopButton: React.FC = ({ }, 150, { trailing: true }), [autoload, threshold, autoloadThreshold]); const scrollUp = () => { - window.scrollTo({ top: 0, behavior: 'smooth' }); + window.scrollTo({ top: 0 }); }; const handleClick: React.MouseEventHandler = () => {