We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c047f45 commit b36c5a4Copy full SHA for b36c5a4
src/angular-sortable-view.js
@@ -447,8 +447,8 @@
447
if(targetLeft + helperRect.width > containmentRect.left + body.scrollLeft + containmentRect.width) // right boundary
448
targetLeft = containmentRect.left + body.scrollLeft + containmentRect.width - helperRect.width;
449
450
- targetLeft -= containmentRect.left;
451
- targetTop -= containmentRect.top;
+ targetLeft -= containmentRect.left;
+ targetTop -= containmentRect.top;
452
}
453
this.style.left = targetLeft - body.scrollLeft + 'px';
454
this.style.top = targetTop - body.scrollTop + 'px';
0 commit comments