From 8cdb629864239f8d2dd5cd2c9dd6a9d7656bdcb2 Mon Sep 17 00:00:00 2001 From: JuliaSvinareva Date: Wed, 28 Apr 2021 12:04:50 +0300 Subject: [PATCH] [mobile] Fix open context menu, when dialog is opened --- apps/common/mobile/lib/controller/ContextMenu.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/common/mobile/lib/controller/ContextMenu.jsx b/apps/common/mobile/lib/controller/ContextMenu.jsx index 61ddbd04f..9b05db8a8 100644 --- a/apps/common/mobile/lib/controller/ContextMenu.jsx +++ b/apps/common/mobile/lib/controller/ContextMenu.jsx @@ -103,7 +103,7 @@ class ContextMenuController extends Component { } onApiOpenContextMenu(x, y) { - if ( !this.state.opened ) { + if ( !this.state.opened && $$('.dialog.modal-in').length < 1) { this.setState({ items: this.initMenuItems(), extraItems: this.initExtraItems()