File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -270,7 +270,7 @@ export default function sortableContainer(WrappedComponent, config = {withRef: f
270
270
top : this . scrollContainer . scrollTop ,
271
271
left : this . scrollContainer . scrollLeft ,
272
272
} ;
273
-
273
+
274
274
this . initialWindowScroll = {
275
275
top : window . scrollY ,
276
276
left : window . scrollX ,
@@ -518,8 +518,8 @@ export default function sortableContainer(WrappedComponent, config = {withRef: f
518
518
y : offset . y - this . initialOffset . y ,
519
519
} ;
520
520
// Adjust for window scroll
521
- translate . y -= ( window . scrollY - this . initialWindowScroll . top )
522
- translate . x -= ( window . scrollX - this . initialWindowScroll . left )
521
+ translate . y -= ( window . scrollY - this . initialWindowScroll . top ) ;
522
+ translate . x -= ( window . scrollX - this . initialWindowScroll . left ) ;
523
523
524
524
this . translate = translate ;
525
525
@@ -571,7 +571,7 @@ export default function sortableContainer(WrappedComponent, config = {withRef: f
571
571
const scrollDifference = {
572
572
top : ( window . scrollY - this . initialWindowScroll . top ) ,
573
573
left : ( window . scrollX - this . initialWindowScroll . left ) ,
574
- }
574
+ } ;
575
575
this . newIndex = null ;
576
576
577
577
for ( let i = 0 , len = nodes . length ; i < len ; i ++ ) {
You can’t perform that action at this time.
0 commit comments