Ticket #3555 (closed bug: fixed)

Opened 7 years ago

Last modified 3 years ago

Draggable connectToSortable position bug

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


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>

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"???)

Change History

comment:1 Changed 7 years ago by paul

  • Status changed from new to closed
  • Resolution set to fixed

This should be fixed in the newest trunk version.

comment:2 Changed 3 years ago by scott.gonzalez

  • Milestone TBD deleted

Milestone TBD deleted

Note: See TracTickets for help on using tickets.