Open smilingkite opened 5 years ago
The problem appears to be solved if in Tree.vue you define your space prop with a type 'number':
space: {type: Number, default: 10},
Right now in autodragplaceholder.js, in line 258:
const ty2 = ty + el.offsetHeight + currentTree.space
appends currentTree.space to the rest instead of adding it. The result is a string.
For instance: ty: 1137, offsetHeight: 57, space: "5", ty2: "11945" instead of ty2: 1199
fixed in 2.1.8
In large trees I see dragging problems when the tree is not collapsed.