[PE mobile] Fix bug 50867

This commit is contained in:
JuliaSvinareva 2021-06-18 12:51:50 +03:00
parent bbbfb5ddde
commit d31dd64efe
2 changed files with 3 additions and 1 deletions

View file

@ -3,6 +3,7 @@ import { inject } from 'mobx-react';
import { f7 } from 'framework7-react'; import { f7 } from 'framework7-react';
import { useTranslation } from 'react-i18next'; import { useTranslation } from 'react-i18next';
import Preview from "../view/Preview"; import Preview from "../view/Preview";
import ContextMenu from './ContextMenu';
const PreviewController = props => { const PreviewController = props => {
const { t } = useTranslation(); const { t } = useTranslation();
@ -20,6 +21,7 @@ const PreviewController = props => {
api.DemonstrationEndShowMessage(_t.textFinalMessage); api.DemonstrationEndShowMessage(_t.textFinalMessage);
}; };
ContextMenu.closeContextMenu();
show(); show();
onDocumentReady(); onDocumentReady();

View file

@ -2,7 +2,7 @@ import React from 'react';
const Preview = () => { const Preview = () => {
return ( return (
<div id="pe-preview" style={{position: 'absolute', left: 0, top: 0, width: '100%', height: '100%', zIndex: 1000}}> <div id="pe-preview" style={{position: 'absolute', left: 0, top: 0, width: '100%', height: '100%', zIndex: 14000}}>
<div id="presentation-preview" style={{width: '100%', height: '100%'}}></div> <div id="presentation-preview" style={{width: '100%', height: '100%'}}></div>
</div> </div>
) )