Open yczkhx-ths opened 3 months ago
Thanks for the report, I'll check this and address the issue in the next patch :)
and there is a temporary solution: use getRectOfNodes to get Rect of all children,and pass it to props<min-wdith,min-height> in NodeResizer
Is there an existing issue for this?
Current Behavior
one parent node contanis a child node(extent: 'parent'). when shrink the parent, it can not contains the child, and when drag the child, it flicker into the parent; it seems like a bug; below are the example: and drag the child, it becomes into this in one second
Expected Behavior
it seems resize should consider child nodes inside, the min-width and min-height should contains all children;
Steps To Reproduce
code with 'https://vueflow.dev/examples/nodes/node-resizer.html'
Relevant log output
No response
Anything else?
No response