Skip to content

Commit bacf970

Browse files
author
Volodymyr Zaets
committed
MAGETWO-52418: Drag and drop on Customizable opions poblem
1 parent 4d71bb4 commit bacf970

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,7 @@ define([
132132
drEl.instanceCtx = this.getRecord(originRecord[0]);
133133
drEl.eventMousedownY = isTouchDevice ? event.originalEvent.touches[0].pageY : event.pageY;
134134
drEl.minYpos =
135-
$table.offset().top - originRecord.offset().top +
136-
$table.outerHeight() - $table.find('tbody').outerHeight();
135+
$table.offset().top - originRecord.offset().top + $table.find('thead').outerHeight();
137136
drEl.maxYpos = drEl.minYpos + $table.find('tbody').outerHeight() - originRecord.outerHeight();
138137
$tableWrapper.append(recordNode);
139138

0 commit comments

Comments
 (0)