Merge pull request #5515 from xyflow/fix-parse-handles
Fix parse handles
This commit is contained in:
7
.changeset/lemon-adults-admire.md
Normal file
7
.changeset/lemon-adults-admire.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
'@xyflow/system': patch
|
||||
'@xyflow/react': patch
|
||||
'@xyflow/svelte': patch
|
||||
---
|
||||
|
||||
Fix id of static handles not being parsed
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user