From ae15380a9f9c0d72326e7cf67bd2bbe249c71264 Mon Sep 17 00:00:00 2001 From: David Luzar Date: Fri, 11 Dec 2020 22:12:36 +0100 Subject: [PATCH] hide stats and scrollToContent-button when mobile menus open (#2509) --- src/components/MobileMenu.tsx | 2 +- src/components/Stats.tsx | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/MobileMenu.tsx b/src/components/MobileMenu.tsx index 5cd0b95a5..bf6b2093d 100644 --- a/src/components/MobileMenu.tsx +++ b/src/components/MobileMenu.tsx @@ -154,7 +154,7 @@ export const MobileMenu = ({ )} {actionManager.renderAction("deleteSelectedElements")} - {appState.scrolledOutside && ( + {appState.scrolledOutside && !appState.openMenu && (