fix(onlyRenderVisibleElements): always render nodes with dragging=true closes #2444
This commit is contained in:
@@ -188,7 +188,7 @@ export const getNodesInside = (
|
|||||||
const area = (width || 0) * (height || 0);
|
const area = (width || 0) * (height || 0);
|
||||||
const isVisible = notInitialized || partiallyVisible || overlappingArea >= area;
|
const isVisible = notInitialized || partiallyVisible || overlappingArea >= area;
|
||||||
|
|
||||||
if (isVisible) {
|
if (isVisible || node.dragging) {
|
||||||
visibleNodes.push(node);
|
visibleNodes.push(node);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user