[DE mobile] Fix Bug 62639

This commit is contained in:
SergeyEzhin
2023-05-17 15:24:29 +03:00
parent 7d0393f92b
commit 708104e247

View File

@ -206,19 +206,6 @@ class MainPage extends Component {
{/* {
Device.phone ? null : <SearchSettings />
} */}
{isFabShow &&
<CSSTransition
in={this.state.fabVisible}
timeout={500}
classNames="fab"
mountOnEnter
unmountOnExit
>
<div className="fab fab-right-bottom" onClick={() => this.turnOffViewerMode()}>
<a href="#"><i className="icon icon-edit-mode"></i></a>
</div>
</CSSTransition>
}
<Snackbar
isShowSnackbar={this.state.snackbarVisible}
closeCallback={() => this.handleOptionsViewClosed('snackbar')}
@ -254,6 +241,19 @@ class MainPage extends Component {
!this.state.navigationVisible ? null :
<NavigationController onclosed={this.handleOptionsViewClosed.bind(this, 'navigation')}/>
}
{isFabShow &&
<CSSTransition
in={this.state.fabVisible}
timeout={500}
classNames="fab"
mountOnEnter
unmountOnExit
>
<div className="fab fab-right-bottom" onClick={() => this.turnOffViewerMode()}>
<a href="#"><i className="icon icon-edit-mode"></i></a>
</div>
</CSSTransition>
}
{appOptions.isDocReady && <ContextMenu openOptions={this.handleClickToOpenOptions.bind(this)}/>}
</Page>
)