Skip to main content

Search and Top Navigation

#10547 new bug ()

Opened August 14, 2014 07:30PM UTC

Last modified August 14, 2014 08:59PM UTC

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");
});
Attachments (0)
Change History (1)

Changed August 14, 2014 08:59PM UTC by tj.vantoll comment:1

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.