expandParent doesn't work correctly in two level subflow
Author: avatar5555555Created Jul 31, 2024Updated Jul 8, 2026
Labelsreacttopic:subflowsnext major
What platform were you using when you found the bug?
- React Flow / Svelte Flow version: 12.0.4
- Browser and version: Chrome 127.0.6533.73 (Official Build) (arm64)
- OS and version: macOS Sonoma 14.6 (23G80)
Live code example
Describe the Bug
Top level group node doesn't update its size if move grandchild
Steps to reproduce the bug or issue
- Go to example
- Drag "child node 1" outside of its grandparent
- Check grandparent size (bug)
- Drag parent node - grandparent size is updated
Expected behavior
After dragging the node all parents size should be updated
Screenshots or Videos
https://github.com/user-attachments/assets/aad9fead-6eae-45ab-a2fd-3d828e48ec68
Additional context
No response
Source: xyflow/xyflow