We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55ea485 commit 2681a9cCopy full SHA for 2681a9c
1 file changed
packages/he-tree-vue/src/components/DraggableTree.ts
@@ -229,7 +229,7 @@ const cpt = defineComponent({
229
}
230
case "ArrowDown": {
231
if (siblingIndex < siblings.length - 1) {
232
- this.move(stat, stat.parent || null, siblingIndex + 2);
+ this.move(stat, stat.parent || null, siblingIndex + 1);
233
this.$emit("change");
234
const newSiblings = stat.parent
235
? stat.parent.children
0 commit comments