Merge pull request #5603 from xyflow/fix/svelte-on-pane-click

Fix/svelte on pane click
This commit is contained in:
Moritz Klack
2025-11-11 16:08:48 +01:00
committed by GitHub
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
'@xyflow/svelte': patch
---
Fix onPaneClick always firing when moving the viewport

View File

@@ -61,7 +61,7 @@
panOnScroll = false,
panOnScrollSpeed = 0.5,
panOnDrag = true,
selectionOnDrag = true,
selectionOnDrag = false,
connectionLineComponent,
connectionLineStyle,
connectionLineContainerStyle,