Draggable position shifts with dynamic content

Draggable position shifts with dynamic content


I'm trying to recreate the drag-and-drop tree functionality from the
Interface framework (http://interface.eyecon.ro/demos/
drag_drop_tree.html) using jQuery UI, but am having trouble with
dynamic changes to the page content while dragging. If content is
displayed dynamically while I'm dragging a draggable, the position of
the draggable suddenly shifts. Interface gets around this problem by
recalculating the position of the draggable when the new content is
displayed. Is there a similar method in jQuery UI?