Merge pull request #6424 from philipstarkey/philipstarkey/fix-6014
fix DataTable: Allow drop below bottom rowpull/6471/head
commit
94a54fce68
|
@ -296,7 +296,6 @@ import {
|
|||
getOffset,
|
||||
getOuterHeight,
|
||||
getOuterWidth,
|
||||
getWindowScrollTop,
|
||||
isClickable,
|
||||
removeClass,
|
||||
setAttribute
|
||||
|
@ -1533,7 +1532,7 @@ export default {
|
|||
|
||||
if (this.rowDragging && this.draggedRowIndex !== index) {
|
||||
let rowElement = event.currentTarget;
|
||||
let rowY = getOffset(rowElement).top + getWindowScrollTop();
|
||||
let rowY = getOffset(rowElement).top;
|
||||
let pageY = event.pageY;
|
||||
let rowMidY = rowY + getOuterHeight(rowElement) / 2;
|
||||
let prevRowElement = rowElement.previousElementSibling;
|
||||
|
|
Loading…
Reference in New Issue