diff --git a/.changeset/lemon-adults-admire.md b/.changeset/lemon-adults-admire.md new file mode 100644 index 00000000..11106ea9 --- /dev/null +++ b/.changeset/lemon-adults-admire.md @@ -0,0 +1,7 @@ +--- +'@xyflow/system': patch +'@xyflow/react': patch +'@xyflow/svelte': patch +--- + +Fix id of static handles not being parsed diff --git a/packages/system/src/utils/store.ts b/packages/system/src/utils/store.ts index 5ff409a8..4739946e 100644 --- a/packages/system/src/utils/store.ts +++ b/packages/system/src/utils/store.ts @@ -82,6 +82,7 @@ function parseHandles(userNode: NodeBase, internalNode?: InternalNodeBase): Node for (const handle of userNode.handles) { const handleBounds = { + id: handle.id, width: handle.width ?? 1, height: handle.height ?? 1, nodeId: userNode.id,