[mobile] Fix open context menu, when dialog is opened
This commit is contained in:
parent
5f59be85ee
commit
8cdb629864
|
@ -103,7 +103,7 @@ class ContextMenuController extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
onApiOpenContextMenu(x, y) {
|
onApiOpenContextMenu(x, y) {
|
||||||
if ( !this.state.opened ) {
|
if ( !this.state.opened && $$('.dialog.modal-in').length < 1) {
|
||||||
this.setState({
|
this.setState({
|
||||||
items: this.initMenuItems(),
|
items: this.initMenuItems(),
|
||||||
extraItems: this.initExtraItems()
|
extraItems: this.initExtraItems()
|
||||||
|
|
Loading…
Reference in a new issue