From 5f2b4ad4a1c19c4bf53fa8d99488b0332a2e20cf Mon Sep 17 00:00:00 2001 From: JuliaSvinareva Date: Tue, 13 Jul 2021 15:50:55 +0300 Subject: [PATCH] [mobile] Fix bug 51268 --- .../common/mobile/lib/controller/collaboration/Comments.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/common/mobile/lib/controller/collaboration/Comments.jsx b/apps/common/mobile/lib/controller/collaboration/Comments.jsx index 93fc3eede..1a43a0825 100644 --- a/apps/common/mobile/lib/controller/collaboration/Comments.jsx +++ b/apps/common/mobile/lib/controller/collaboration/Comments.jsx @@ -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) {