[DE mobile] Fix Bug 53890

This commit is contained in:
SergeyEzhin 2021-11-24 19:29:19 +04:00
parent 2aca892017
commit 5fad9c2ccf

View file

@ -111,6 +111,8 @@ class ContextMenuController extends Component {
});
if ( this.state.items.length > 0 ) {
const api = Common.EditorApi.get();
this.$targetEl.css({left: `${x}px`, top: `${y}px`});
const popover = f7.popover.open(idContextMenuElement, idCntextMenuTargetElement);
@ -120,6 +122,8 @@ class ContextMenuController extends Component {
this.setState(state => {
return {opened: true}
});
api.asc_enableKeyEvents(true);
}
}
}