From 57a571ea8790449b26a181bfdfb5a09c17a976ef Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Thu, 20 Mar 2025 08:39:44 +0530 Subject: [PATCH] fix: Fix the issue with context menu for right click on images and videos (#11114) This pull request includes changes to various components adding a `skip-context-menu` class to ensure the system context menu opens instead of the Chatwoot message one --------- Co-authored-by: Pranav Co-authored-by: Pranav --- .../components-next/message/bubbles/Audio.vue | 5 +- .../components-next/message/bubbles/Image.vue | 6 +- .../message/bubbles/InstagramStory.vue | 4 +- .../components-next/message/bubbles/Video.vue | 4 +- .../components-next/message/chips/Image.vue | 2 +- .../conversation/components/GalleryView.vue | 346 +++++++++--------- 6 files changed, 187 insertions(+), 180 deletions(-) diff --git a/app/javascript/dashboard/components-next/message/bubbles/Audio.vue b/app/javascript/dashboard/components-next/message/bubbles/Audio.vue index 6b36459a4..f50597fee 100644 --- a/app/javascript/dashboard/components-next/message/bubbles/Audio.vue +++ b/app/javascript/dashboard/components-next/message/bubbles/Audio.vue @@ -13,6 +13,9 @@ const attachment = computed(() => { diff --git a/app/javascript/dashboard/components-next/message/bubbles/Image.vue b/app/javascript/dashboard/components-next/message/bubbles/Image.vue index 4015bc248..2484bb06c 100644 --- a/app/javascript/dashboard/components-next/message/bubbles/Image.vue +++ b/app/javascript/dashboard/components-next/message/bubbles/Image.vue @@ -56,6 +56,7 @@ const downloadAttachment = async () => {
{ @error="handleError" />