From d74c18aab9bef0cd6cdae6da27e2b8cb11560a49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Tue, 26 Nov 2024 19:46:21 +0100 Subject: [PATCH] pl-fe: reduce default threshold for scroll top button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- packages/pl-fe/src/components/scroll-top-button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pl-fe/src/components/scroll-top-button.tsx b/packages/pl-fe/src/components/scroll-top-button.tsx index b1d9794cd..b40be263f 100644 --- a/packages/pl-fe/src/components/scroll-top-button.tsx +++ b/packages/pl-fe/src/components/scroll-top-button.tsx @@ -24,7 +24,7 @@ const ScrollTopButton: React.FC = ({ onClick, count, message, - threshold = 400, + threshold = 240, autoloadThreshold = 50, }) => { const intl = useIntl();