Comfy-Org / Comfy-Org/ComfyUI_frontend

Drag and drop from image history into load image node not working on Firefox

Open
#4,106 3 comments 0 reactions 0 assignees View on GitHub
area:previews Browser Related Bug browser:firefox platform:windows
Dominant language
TypeScript
Stars
2k
Forks
704
Avg merge
1d 8h
Merged PRs (30d)
512

Description

Originally posted at https://github.com/comfyanonymous/ComfyUI/issues/8459

### Custom Node Testing

- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)

### Expected Behavior

Dragging and dropping an image from the history onto a load image node should load the image.

### Actual Behavior

https://github.com/user-attachments/assets/34257b50-d72b-4273-b4d3-1d7f03306bcc

Re: [This closed issue](https://github.com/comfyanonymous/ComfyUI/issues/734#event-17936732788), this is a bug on Firefox but not chromium. Dragging an image from the history to a load image node does not load the historical image, but opens a new tab with the embedded workflow.

### Steps to Reproduce

![Image](https://github.com/user-attachments/assets/a17ef040-b48c-4c1d-89de-c530bf272233)

Load the workflow from this image, or run a default workflow, then drag the output from the history onto the load image node in the Firefox browser. Instead of loading the image Comfy will open the workflow saved in the image.

### Debug Logs

```powershell
Bug does not produce output
```

### Other

_No response_

┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-4106-Drag-and-drop-from-image-history-into-load-image-node-not-working-on-Firefox-20c6d73d365081c2bfdaf3c97bcffa83) by [Unito](https://www.unito.io)

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. First reproduce the workflow in Firefox by dragging an image from history onto a load image node, then trace the frontend drag-and-drop handling and compare it with Chromium behavior. Done means the historical image loads into the node instead of opening the embedded workflow in a new tab.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.