From bbe15b7e4154049a797b728ea6979faa5d22d6c2 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Tue, 14 Jul 2020 13:43:15 -0300 Subject: [PATCH] [FIX] MessageBox not being shown on ShareView when Preview is a video (#2283) * Wrap video preview with ScrollView so Messagebox is shown properly * Fix border color --- app/containers/MessageBox/index.js | 2 +- app/views/ShareView/Preview.js | 28 +++++++++++++++------------- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/app/containers/MessageBox/index.js b/app/containers/MessageBox/index.js index 81a08c23a..813d7d64c 100644 --- a/app/containers/MessageBox/index.js +++ b/app/containers/MessageBox/index.js @@ -908,7 +908,7 @@ class MessageBox extends Component { return ( <> {commandsPreviewAndMentions} - + {replyPreview} 1) ? THUMBS_HEIGHT : 0; - const calculatedHeight = height - insets.top - insets.bottom - messageboxHeight - thumbsHeight - headerHeight; + const calculatedHeight = height - insets.top - insets.bottom - MESSAGEBOX_HEIGHT - thumbsHeight - headerHeight; if (item?.canUpload) { if (type?.match(/video/)) { return ( -