diff --git a/src/app/components/table/table.ts b/src/app/components/table/table.ts index f58cdce8e6c..71ac82d8fb9 100644 --- a/src/app/components/table/table.ts +++ b/src/app/components/table/table.ts @@ -2134,7 +2134,7 @@ export class Table implements OnInit, AfterViewInit, AfterContentInit, Blockable onRowDragOver(event, index, rowElement) { if (this.rowDragging && this.draggedRowIndex !== index) { - let rowY = DomHandler.getOffset(rowElement).top + DomHandler.getWindowScrollTop(); + let rowY = DomHandler.getOffset(rowElement).top; let pageY = event.pageY; let rowMidY = rowY + DomHandler.getOuterHeight(rowElement) / 2; let prevRowElement = rowElement.previousElementSibling;