Opened 8 years ago

Closed 7 years ago

Last modified 4 years ago

#3555 closed bug (fixed)

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

Change History (2)

comment:1 Changed 7 years ago by paul

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

This should be fixed in the newest trunk version.

comment:2 Changed 4 years ago by scottgonzalez

  • Milestone TBD deleted

Milestone TBD deleted

Note: See TracTickets for help on using tickets.