Don't destroy subdocs on deletion from parent
Author: itsmebastiCreated Nov 29, 2025Updated Nov 29, 2025
Labelsbug
Describe the bug I am building a Tree Provider, that supports relinking of items to other parents. While doing so, my child Docs get destroyed entirely, as soon as I delete them from the previous parent. If I get it right, it is happening through this line. I would expect/suggest to leave it up to the provider to destroy items during the 'subdocs' event.
- I'm a sponsor
- This issue is a blocker for my project.
Source: yjs/yjs