File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
app/code/Magento/Ui/view/base/web/js/dynamic-rows Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -136,9 +136,8 @@ define([
136
136
drEl . instance = recordNode = this . processingStyles ( recordNode , elem ) ;
137
137
drEl . instanceCtx = this . getRecord ( originRecord [ 0 ] ) ;
138
138
drEl . eventMousedownY = this . getPageY ( event ) ;
139
- drEl . minYpos =
140
- $table . offset ( ) . top - originRecord . offset ( ) . top + outerHight ;
141
- drEl . maxYpos = drEl . minYpos + $table . children ( 'tbody' ) . outerHeight ( ) - originRecord . outerHeight ( ) ;
139
+ drEl . minYpos = $table . offset ( ) . top - originRecord . offset ( ) . top + outerHight ;
140
+ drEl . maxYpos = drEl . minYpos + ( $table . children ( 'tbody' ) . outerHeight ( ) || 0 ) - originRecord . outerHeight ( ) ;
142
141
$tableWrapper . append ( recordNode ) ;
143
142
this . body . on ( 'mousemove touchmove' , this . mousemoveHandler ) ;
144
143
this . body . on ( 'mouseup touchend' , this . mouseupHandler ) ;
You can’t perform that action at this time.
0 commit comments