Comfy-Org / Comfy-Org/ComfyUI

[BUG] - screen panning disconnecting node links

Open
#3,322 0 comments 0 reactions 0 assignees View on GitHub
User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 6h
Merged PRs (30d)
155

Description

Steps to reproduce:
1. connect any nodes
2. try panning the screen using MIDDLE mouse button, with mouse positioned on the input 'dot' of the receiving node
3. the input will get disconnected and a reroute node will be placed, breaking the link

What i suggest is to only create reroute on middle button release instead of on the press, this would probably solve 99% of unintended disconnects

(middle mouse pan has advantage that it doesn't move nodes around, unlike left click pan)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.