File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Ui/view/base/web/js/dynamic-rows Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -135,8 +135,8 @@ define([
135135 drEl . instanceCtx = this . getRecord ( originRecord [ 0 ] ) ;
136136 drEl . eventMousedownY = this . getPageY ( event ) ;
137137 drEl . minYpos =
138- $table . offset ( ) . top - originRecord . offset ( ) . top + $table . children ( 'thead' ) . outerHeight ( ) ;
139- drEl . maxYpos = drEl . minYpos + $table . children ( 'tbody' ) . outerHeight ( ) - originRecord . outerHeight ( ) ;
138+ $table . offset ( ) . top - originRecord . offset ( ) . top + ( $table . children ( 'thead' ) . outerHeight ( ) || 0 ) ;
139+ drEl . maxYpos = drEl . minYpos + ( $table . children ( 'tbody' ) . outerHeight ( ) || 0 ) - originRecord . outerHeight ( ) ;
140140 $tableWrapper . append ( recordNode ) ;
141141 this . body . on ( 'mousemove touchmove' , this . mousemoveHandler ) ;
142142 this . body . on ( 'mouseup touchend' , this . mouseupHandler ) ;
You can’t perform that action at this time.
0 commit comments