Comfy-Org / Comfy-Org/ComfyUI_frontend
Alt-drag of sub graph to copy breaks the original
- 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
- [ ] I have custom nodes enabled
### What happened?
LiteGraph
If you duplicate a sub-graph by alt+drag, the original one breaks, you can no longer change the value.
To do the testing I ran `pnpm dev` and loaded `http://localhost:5173/`
### Steps to Reproduce
1. Create 2 utils/primitive Int node.
2. Connect the first one to the second one.
3. Make the first one a subgraph
4. Go in the subgraph and connect the input to the int node
5. Go to root, hold Alt then click and drag the subgraph
6. Notice, now the copied one is editable, but if you try to change the value of the original one, by using the arrow buttons or clicking the value and typing a number in the popup and clicking ok, it doesn't work. if you refresh or change workflows and back, it fixes itself. One time it crashed the page.
### How is this affecting you?
Crashes ComfyUI completely
### ComfyUI Frontend Version
1.46.0
### Browser
Chrome/Chromium
### Console Errors
```javascript
```
### Logs
```shell
```
### Additional Context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.