mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 19:09:52 +00:00
Fix: Disable pointer events on images to allow them to be drag targets (#6388)
## Summary Allows SaveImage and other nodes with ImagePreviews to be dragged by the image. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6388-Fix-Disable-pointer-events-on-images-to-allow-them-to-be-drag-targets-29c6d73d365081e796f0e8171a860062) by [Unito](https://www.unito.io)
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
ref="currentImageEl"
|
||||
:src="currentImageUrl"
|
||||
:alt="imageAltText"
|
||||
class="block size-full object-contain"
|
||||
class="block size-full object-contain pointer-events-none"
|
||||
@load="handleImageLoad"
|
||||
@error="handleImageError"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user