diff --git a/native/chat/composed-message.react.js b/native/chat/composed-message.react.js --- a/native/chat/composed-message.react.js +++ b/native/chat/composed-message.react.js @@ -215,6 +215,11 @@ // want to measure it in Message to see if it's correct if (item.messageShapeType === 'text') { viewStyle.push({ height: item.contentHeight }); + } else if (item.messageShapeType === 'multimedia') { + const height = item.inlineEngagementHeight + ? item.contentHeight + item.inlineEngagementHeight + : item.contentHeight; + viewStyle.push({ height }); } } diff --git a/native/chat/multimedia-message.react.js b/native/chat/multimedia-message.react.js --- a/native/chat/multimedia-message.react.js +++ b/native/chat/multimedia-message.react.js @@ -7,7 +7,7 @@ } from '@react-navigation/native'; import { useNavigation, useRoute } from '@react-navigation/native'; import * as React from 'react'; -import { StyleSheet, View } from 'react-native'; +import { View } from 'react-native'; import { messageKey } from 'lib/shared/message-utils.js'; import { @@ -217,7 +217,7 @@ shouldDisplayPinIndicator={shouldDisplayPinIndicator} {...viewProps} > - + = React.memo(function ConnectedMultimediaMessage(props: BaseProps) { const navigation = useNavigation();