Merge pull request #976 from ONLYOFFICE/fix/fix-bugs-on-mobiles

[mobile] Fix bug 51268
This commit is contained in:
Julia Radzhabova 2021-07-14 11:38:52 +03:00 committed by GitHub
commit a10de0fa52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -457,7 +457,11 @@ class ViewCommentsController extends Component {
});
}
closeViewCurComments () {
f7.sheet.close('#view-comment-sheet');
if (Device.phone) {
f7.sheet.close('#view-comment-sheet');
} else {
f7.popover.close('#view-comment-popover');
}
this.setState({isOpenViewCurComments: false});
}
onResolveComment (comment) {