Skip to main content

Search and Top Navigation

#3555 closed bug (fixed)

Opened November 08, 2008 11:50AM UTC

Closed December 19, 2008 12:58PM UTC

Last modified October 11, 2012 09:15PM UTC

Draggable connectToSortable position bug

Reported by: Flat Stanley Owned by: paul
Priority: minor Milestone:
Component: ui.draggable Version: 1.5.2
Keywords: connectToSortable Cc:
Blocked by: Blocking:
Description

the draggable is successfully added to the HTML for the sortable in the position where it is dropped. However, on screen the dropped item is way off where it should be. And its left with the draggable classes.

So looking at the code, I end up with something like this after the draggable is dropped onto the sortable....

<ul id="sortables" class="testing ui-sortable" style="cursor: move; position: relative;">
  <li id="order_1" class="sortable"> 1 </li>
  <li id="order_3" class="sortable"> 3 </li>
  <li id="order_2" class="sortable ui-draggable ui-draggable-dragging" style="position: relative; left: 4px; top: -38px;"> 2 </li>
</ul>

the position is correctly displayed when we add helper: "clone" to the draggable. But in this case the original draggable is not removed. (not sure if it should be?? what is the expected behavior when we use helper: "clone"???)

Attachments (0)
Change History (2)

Changed December 19, 2008 12:58PM UTC by paul comment:1

resolution: → fixed
status: newclosed

This should be fixed in the newest trunk version.

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted