diff --git a/packages/core/src/utils/graph.ts b/packages/core/src/utils/graph.ts index b07db923..123fd13e 100644 --- a/packages/core/src/utils/graph.ts +++ b/packages/core/src/utils/graph.ts @@ -188,7 +188,7 @@ export const getNodesInside = ( const area = (width || 0) * (height || 0); const isVisible = notInitialized || partiallyVisible || overlappingArea >= area; - if (isVisible) { + if (isVisible || node.dragging) { visibleNodes.push(node); } });