You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// force default size when resizing is activated but no dimensions are set
424
422
React.useEffect(()=>{
@@ -432,7 +430,7 @@ export function NodeContent<CONTENT_PROPS = any>({
432
430
setHeight(newHeight);
433
431
}
434
432
}
435
-
},[nodeContentRef.current,onNodeResize,minimalShape,resizeDirections?.bottom,resizeDirections?.right]);// need to be done everytime a property is changed and the element is re-rendered, otherwise the resizing class is lost
433
+
},[nodeContentRef.current,onNodeResize,minimalShape,resizeDirections?.bottom,resizeDirections?.right,width,height]);// need to be done everytime a property is changed and the element is re-rendered, otherwise the resizing class is lost
436
434
437
435
// conditional enhancements for activated resizing
0 commit comments