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 <pranav@chatwoot.com>
Co-authored-by: Pranav <pranavrajs@gmail.com>
This commit is contained in:
Shivam Mishra
2025-03-20 08:39:44 +05:30
committed by GitHub
parent 3a4249da11
commit 57a571ea87
6 changed files with 187 additions and 180 deletions

View File

@@ -36,7 +36,7 @@ const handleError = () => {
</div>
<img
v-else
class="object-cover w-full h-full"
class="object-cover w-full h-full skip-context-menu"
:src="attachment.dataUrl"
@error="handleError"
/>