From 446fb422d20fe84e722f4cbc9271b48eff203a16 Mon Sep 17 00:00:00 2001 From: silver-it Date: Thu, 7 Mar 2024 08:39:32 +0800 Subject: [PATCH] fix: error in dnd files which are already attached --- .../chatroom/file-attachment/ChatAttachmentPreview.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/views/containers/chatroom/file-attachment/ChatAttachmentPreview.vue b/frontend/views/containers/chatroom/file-attachment/ChatAttachmentPreview.vue index 4e6ae68752..53fafee4b0 100644 --- a/frontend/views/containers/chatroom/file-attachment/ChatAttachmentPreview.vue +++ b/frontend/views/containers/chatroom/file-attachment/ChatAttachmentPreview.vue @@ -260,6 +260,10 @@ export default { &.is-image { width: 4.5rem; height: 4.5rem; + + .c-preview-img { + pointer-events: none; + } } &.is-non-image {