One lightbox at a time; proper dismiss of "read more" screen; proper in-progress draft HEIC images

This commit is contained in:
Scott Nonnenberg 2021-09-02 12:35:23 -07:00 committed by GitHub
parent 01b015680b
commit 9ca9f743c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 26 additions and 37 deletions

View file

@ -66,7 +66,7 @@ export const AttachmentList = ({
const isImage = isImageAttachment(attachment);
const isVideo = isVideoAttachment(attachment);
if (isImage || isVideo) {
if (isImage || isVideo || attachment.pending) {
const clickCallback =
attachments.length > 1 ? onClickAttachment : undefined;