Comfy-Org / Comfy-Org/ComfyUI_frontend
Subgraphs deforming, random images become part of a non-image node.
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 699
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 490
Description
### Prerequisites
- [x] I am running the latest version of ComfyUI
- [x] I have searched existing issues to make sure this isn't a duplicate
- [x] I have tested with all custom nodes disabled ([see how](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled))
### What happened?
I posted this to Comfy's issues and was asked to put it here.
I loaded the subgraph workflow(left side), I swapped over to another tab and loaded a different subgraph. I opened that subgraph and then closed it. I closed that workflow and came back to this(right side).
This happens a lot. I have no idea where the image came from, it was something I made earlier and why is the subgraph suddenly twice as long with empty space?
I have not run anything in this workflow nor did I run anything in the other tab when I opened it. Simply switching from one workflow tab to the other caused this.
The image being inserted happens in non-subgraphed workflows also. It is not one particular node either. You have to reload the browser tab to get it to go away and display the actual node.
Reloading the browser tab does not fix the subgraph, you have to either manually resize it or replace it.
There are no error messages being displayed inside of ComfyUI or in the cmd windows. These things are just there and it happens often. It's not always both issues, it's sometimes just one or the other and it happens when I am using any workflow with a subgraph, not just this one.
Any ideas?

### Steps to Reproduce
1. Open a workflow with a subgraph in it then switch to another workflow tab in the UI. Switch back to the original subgraph workflow.
### How is this affecting you?
Visual/UI issue only
### ComfyUI Frontend Version
1.30.3
### Browser
Chrome/Chromium
### Console Errors
```javascript
There were no errors displayed at all.
```
### Logs
```shell
```
### Additional Context
Stand-alone version(latest), Windows 11, 12gen i9, RTX 3080 ti(16gb vram) 32gb system ram. 1x1tb NVME(OS drive), 1x2tb NVME(where Comfy is installed.
┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-6310-Subgraphs-deforming-random-images-become-part-of-a-non-image-node-2986d73d365081efb496d65a05a1349a) by [Unito](https://www.unito.io)
Contributor guide
Assessment
This issue has not been assessed yet.