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