From 58c4f2bcd35cccf67f8638184a96dc0823cfd6c5 Mon Sep 17 00:00:00 2001 From: moklick Date: Thu, 5 Sep 2024 14:37:04 +0200 Subject: [PATCH] refactor(absPositions): pass nodeExtent --- packages/react/src/store/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/store/index.ts b/packages/react/src/store/index.ts index d734f3b0..ea06fb8b 100644 --- a/packages/react/src/store/index.ts +++ b/packages/react/src/store/index.ts @@ -112,7 +112,7 @@ const createStore = ({ return; } - updateAbsolutePositions(nodeLookup, parentLookup, { nodeOrigin }); + updateAbsolutePositions(nodeLookup, parentLookup, { nodeOrigin, nodeExtent }); if (params.triggerFitView) { // we call fitView once initially after all dimensions are set