We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96a2979 commit 67686eaCopy full SHA for 67686ea
1 file changed
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/workflow.tsx
@@ -2326,9 +2326,8 @@ const WorkflowContent = React.memo(() => {
2326
/**
2327
* Handles connection drag end. Detects if the edge was dropped over a block
2328
* 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).
+ * Only creates a connection if ReactFlow didn't already handle it (e.g., when
+ * dropping on the block body instead of a handle).
2332
*/
2333
const onConnectEnd = useCallback(
2334
(event: MouseEvent | TouchEvent) => {
0 commit comments