Issue 327: dndMarker in wrong position on drag and drop
Status:  Duplicate
Merged:  issue 321
Owner: ----
Closed:  Jul 2012
Reported by de...@gmx.net, Jul 10, 2012
I use a complex layout with more trees. On some trees dndMarker is in wrong position. (I use this layout plugin: http://layout.jquery-dev.net)

This fix works for me:

// var pos = $target.offset();
var pos = $target.position();

So left and right css properties are now calculated relative to the offset parent.

Jul 10, 2012
#1 de...@gmx.net
Better:

// var pos = $target.offset();
var pos = $target.position();

// correction if scrollbars come up
pos.top=pos.top+$target.offsetParent().scrollTop();
pos.left=pos.left+$target.offsetParent().scrollLeft();

Jul 13, 2012
Project Member #2 moo...@wwwendt.de
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 321
Jul 25, 2012
Project Member #3 moo...@wwwendt.de
The suggesteste patch fixed a use case that I was able to reproduce, nut breaks the Test / DTD / ... samples in the example browser.
Solved in  issue 321 .
Mergedinto: 321
Jan 26, 2013
Project Member #4 moo...@wwwendt.de
(No comment was entered for this change.)
Labels: Milestone-Release0.0