Ticket #2532375 (accepted defect)

Reporter


Stjepan Rajko
Opened: 06/2/12
Last modified: 11/26/12
Status: accepted
Type: defect

Owner


Dav Glass
Target Release: BACKLOG
Priority: P3 (normal)
Summary: sortable-scroll doesn't drop item in the right place after scrolling
Description:

Please see http://jsfiddle.net/QUsxh/1/ (basic sortable example, with SortableScroll plugged in)

If you scroll to the middle of the list, then pick up an item from the middle and move it to the top / bottom of the list container, the list will scroll correctly, but the drop indicator will become
more and more offset from the mouse position (the drop indicator will stay in place as the list scrolls).

Consequently, to drop the dragged item as the first or last element of the list, the dragged item has to be moved way beyond the top / bottom of the container (as opposed to dropping it within the
container).

Type: defect Observed in Version: 3.5.1
Component: Sortable Severity: S3 (normal)
Assigned To: Dav Glass Target Release: BACKLOG
Location: Library Code Priority: P3 (normal)
Tags: Relates To:
Browsers: N/A
URL: http://jsfiddle.net/QUsxh/1/
Test Information:

Change History

Dav Glass

Posted: 06/4/12
  • location changed to Library Code
  • milestone changed to 3.NEXT
  • priority changed to P3 (normal)
  • status changed from new to accepted

Jenny Donnelly

YUI Developer

Posted: 09/19/12
  • milestone changed from 3.NEXT to BACKLOG

Moving from 3.NEXT to BACKLOG.

David Schaaf

Posted: 11/26/12

Had same issue, adding this seems to help:

sortable.delegate.on('drag:drag', function(e) {
Y.DD.DDM.syncActiveShims(true);
});

http://jsfiddle.net/QUsxh/2/