Skip to content

Commit

Permalink
Tree: fixed TreeNode dragged to wrong position
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyang committed Jun 29, 2018
1 parent b4c84c5 commit 12265b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tree/src/tree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@
dropNext = false;
}
const targetPosition = dropNode.$el.querySelector('.el-tree-node__expand-icon').getBoundingClientRect();
const targetPosition = dropNode.$el.getBoundingClientRect();
const treePosition = this.$el.getBoundingClientRect();
let dropType;
Expand Down

0 comments on commit 12265b9

Please sign in to comment.