@contentful/experiences-visual-editor-react 3.0.0-alpha-20250709T0751-bcbfd82.0 → 3.0.0-alpha-20250711T0717-d5ee667.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/renderApp.js CHANGED
@@ -50254,6 +50254,8 @@ const useCanvasGeometryUpdates = ({ tree }) => {
50254
50254
  // Handling DOM mutations
50255
50255
  reactExports.useEffect(() => {
50256
50256
  const observer = new MutationObserver(() => debouncedUpdateGeometry(treeRef.current, 'mutation'));
50257
+ // send initial geometry in case the tree is empty
50258
+ debouncedUpdateGeometry(treeRef.current, 'mutation');
50257
50259
  observer.observe(document.documentElement, {
50258
50260
  childList: true,
50259
50261
  subtree: true,