Opened 4 years ago

Last modified 4 years ago

#10547 new bug

Sortable: position off when container scrolled horizontally

Reported by: shhQuiet Owned by:
Priority: minor Milestone: none
Component: ui.sortable Version: 1.11.1
Keywords: Cc:
Blocked by: Blocking:

Description

See the fiddle: http://jsfiddle.net/shhQuiet/t2vnfmh4/4/embedded/result/

Resize the fiddle screen until you see a horizontal scrollbar. Scroll all the way to the right and then trying dragging the elements. Their horizontal position is still retained from the initial position.

I have tried to mitigate the issue with no luck by adding this:

$('#scroller').scroll(function() {
    $('.items').sortable("refreshPositions");
});

Change History (1)

comment:1 Changed 4 years ago by tj.vantoll

Component: ui.coreui.sortable
Summary: Sortable position off when container scrolled horizontallySortable: position off when container scrolled horizontally

Thanks shhQuiet.

I'm pretty sure this is a duplicate of #5039, but I'm not positive so I'll leave this open for now.

Note: See TracTickets for help on using tickets.