From b99bf74c3d502e819c19b72d21e45208c788eaf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arno=C5=A1t=20Pleskot?= Date: Tue, 12 Sep 2023 12:23:13 +0200 Subject: [PATCH] feat: hide scroll back to content button --- src/components/LayerUI.tsx | 2 +- src/components/MobileMenu.tsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/LayerUI.tsx b/src/components/LayerUI.tsx index 26be77aefa..67dada50f9 100644 --- a/src/components/LayerUI.tsx +++ b/src/components/LayerUI.tsx @@ -461,7 +461,7 @@ const LayerUI = ({ renderCustomStats={renderCustomStats} /> )} - {appState.scrolledOutside && ( + {appState.scrolledOutside && !appState.scrollConstraints && (