Skip to content

Commit 8bead60

Browse files
committed
fix: issue with the link text overflowing the reply view
1 parent 3659e8f commit 8bead60

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package/src/components/Reply/Reply.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,9 @@ const ReplyWithContext = <
203203
/>
204204
) : null
205205
) : null}
206-
{messageType === 'video' ? <VideoThumbnail style={[styles.videoAttachment]} /> : null}
206+
{messageType === 'video' && !lastAttachment.og_scrape_url ? (
207+
<VideoThumbnail style={[styles.videoAttachment]} />
208+
) : null}
207209
<MessageTextContainer<StreamChatGenerics>
208210
markdownStyles={
209211
quotedMessage.deleted_at

0 commit comments

Comments
 (0)