fix: node selection instability by using client coordinates for drag threshold

This commit is contained in:
Ze-Zheng Wu
2025-09-01 20:04:21 +08:00
parent cf4a3692c8
commit 2a35c65a02
2 changed files with 9 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
---
'@xyflow/system': patch
---
Fix node drag threshold behavior across different zoom levels. The drag threshold calculation now uses client coordinates instead of transformed coordinates, ensuring consistent behavior regardless of zoom level.