Skip to content

[Bug]: Multiple issues with shift-dragging links to subgraph output node input slots #4877

@huchenlei

Description

@huchenlei

Frontend Version

main

Expected Behavior

When shift-dragging a link from a node output to a subgraph output node's input slot:

  1. The link should be properly rendered during the drag operation
  2. On link release, the search box popup should have the appropriate link type filter automatically applied
  3. No phantom/ghost links should remain after releasing the link

Actual Behavior

Multiple bugs occur when shift-dragging from a node output to a subgraph output node's input slot:

  1. Link not rendered during drag: The link is not visually rendered while shift-dragging
  2. Missing type filter: When releasing the link, the search box popup appears but does not have the link type filter automatically applied (should filter for compatible node types)
  3. Phantom link remains: After releasing the link, a phantom/ghost link remains visible in the graph

Steps to Reproduce

  1. Create a subgraph with at least one output slot
  2. Inside the subgraph, place a node with an output
  3. Hold Shift and drag from the node's output to the subgraph output node's input slot
  4. Observe that the link is not rendered during the drag
  5. Release the link to open the search box
  6. Observe that the search box lacks the appropriate type filter
  7. Close or cancel the search box
  8. Observe that a phantom link remains in the graph

Debug Logs

No response

Browser Logs

No response

What browsers do you use to access the UI ?

No response

┆Issue is synchronized with this Notion page by Unito

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions