Skip to content

Commit 22f35c4

Browse files
author
Caio Ricci
committed
Fix for element position bug when within a transformed parent kamilkp#81
1 parent c3402ed commit 22f35c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/angular-sortable-view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@
553553
function onMousemove(e){
554554
touchFix(e);
555555
if(!moveExecuted){
556-
$element.parent().prepend(clone);
556+
body.prepend(clone);
557557
moveExecuted = true;
558558
}
559559
console.log("Moving el", $element);

0 commit comments

Comments
 (0)