From 81c927bab69803bdf9f7dfa0c6ff483a6ac1d32f Mon Sep 17 00:00:00 2001 From: zsviczian Date: Fri, 11 Mar 2022 11:07:28 +0100 Subject: [PATCH] Update MobileMenu.tsx --- src/components/MobileMenu.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/MobileMenu.tsx b/src/components/MobileMenu.tsx index 6a2d7b1ac..2db4e5baf 100644 --- a/src/components/MobileMenu.tsx +++ b/src/components/MobileMenu.tsx @@ -176,6 +176,10 @@ export const MobileMenu = ({ marginBottom: SCROLLBAR_WIDTH + SCROLLBAR_MARGIN * 2, marginLeft: SCROLLBAR_WIDTH + SCROLLBAR_MARGIN * 2, marginRight: SCROLLBAR_WIDTH + SCROLLBAR_MARGIN * 2, + "disable-pointerEvents": + appState.draggingElement || + appState.resizingElement || + (appState.editingElement && !isTextElement(appState.editingElement)), }} >