We should not be able to drag a leaf or a root into a leaf
SteamWind opened this issue · 0 comments
SteamWind commented
Current behaviour
It is possible to drag anything into a leaf. When we do so, the element is put in the children of the leaf. But the leaf doesn't look like it can be opened (although it is possible to do so).
Repro
Drag anything into the 2 leaves available:
Expected behaviour
One of the 2 solutions:
- Add a parameter that let the node or leaf have or have no children
- Don't let the leaves have children