File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
apps/sim/app/workspace/[workspaceId]/w/[workflowId] Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -2326,9 +2326,8 @@ const WorkflowContent = React.memo(() => {
23262326 /**
23272327 * Handles connection drag end. Detects if the edge was dropped over a block
23282328 * and automatically creates a connection to that block's target handle.
2329- *
2330- * Uses connectionCompletedRef to check if onConnect already handled this connection
2331- * (ReactFlow pattern for distinguishing handle-to-handle vs handle-to-body drops).
2329+ * Only creates a connection if ReactFlow didn't already handle it (e.g., when
2330+ * dropping on the block body instead of a handle).
23322331 */
23332332 const onConnectEnd = useCallback (
23342333 ( event : MouseEvent | TouchEvent ) => {
You can’t perform that action at this time.
0 commit comments