Skip to content

Commit cb356d7

Browse files
author
Volodymyr Zaets
committed
Merge remote-tracking branch 'origin/MAGETWO-52418' into PR
2 parents f10c7c8 + c68d6f3 commit cb356d7

File tree

1 file changed

+1
-3
lines changed
  • app/code/Magento/Ui/view/base/web/js/dynamic-rows

1 file changed

+1
-3
lines changed

app/code/Magento/Ui/view/base/web/js/dynamic-rows/dnd.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,7 @@ define([
131131
drEl.instance = recordNode = this.processingStyles(recordNode, elem);
132132
drEl.instanceCtx = this.getRecord(originRecord[0]);
133133
drEl.eventMousedownY = isTouchDevice ? event.originalEvent.touches[0].pageY : event.pageY;
134-
drEl.minYpos =
135-
$table.offset().top - originRecord.offset().top +
136-
$table.outerHeight() - $table.find('tbody').outerHeight();
134+
drEl.minYpos = $table.offset().top - originRecord.offset().top + $table.find('thead').outerHeight();
137135
drEl.maxYpos = drEl.minYpos + $table.find('tbody').outerHeight() - originRecord.outerHeight();
138136
$tableWrapper.append(recordNode);
139137

0 commit comments

Comments
 (0)