Update MobileMenu.tsx

This commit is contained in:
zsviczian 2022-03-11 11:21:55 +01:00 committed by GitHub
parent aeb4d39387
commit 93c72cbb32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,7 +176,8 @@ export const MobileMenu = ({
"disable-pointerEvents":
appState.draggingElement ||
appState.resizingElement ||
(appState.editingElement && !isTextElement(appState.editingElement)),
(appState.editingElement &&
!isTextElement(appState.editingElement)),
})}
style={{
marginBottom: SCROLLBAR_WIDTH + SCROLLBAR_MARGIN * 2,