From 42effb008f4a30d2da1ff6b6a4355481864663ec Mon Sep 17 00:00:00 2001 From: Matt McDonald Date: Tue, 19 Jan 2016 09:20:44 +0000 Subject: [PATCH] Fix for element position bug when within a transformed parent --- src/angular-sortable-view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/angular-sortable-view.js b/src/angular-sortable-view.js index 05694f0..67cfd36 100644 --- a/src/angular-sortable-view.js +++ b/src/angular-sortable-view.js @@ -468,7 +468,7 @@ function onMousemove(e){ touchFix(e); if(!moveExecuted){ - $element.parent().prepend(clone); + body.prepend(clone); moveExecuted = true; } $controllers[1].$moveUpdate(opts, {