fix(onlyRenderVisibleElements): always render nodes with dragging=true closes #2444

This commit is contained in:
moklick
2022-10-21 12:05:25 +02:00
parent 7b1dc1b18c
commit 81c42ae00c
+1 -1
View File
@@ -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);
}
});