Skip to main content

Search and Top Navigation

#2960 closed bug (fixed)

Opened June 04, 2008 11:07PM UTC

Closed July 01, 2008 07:35PM UTC

Sortable Scroll in overflow div

Reported by: Tim Owned by: paul
Priority: minor Milestone: 1.6b
Component: ui.sortable Version: 1.5rc1
Keywords: sortable overflow Cc:
Blocked by: Blocking:
Description

I have a sortable list in a div set with overflow. When I drag an item down so that it scrolls a ways down, the image that I was dragging separates from the cursor and finally disappears.

Attachments (0)
Change History (6)

Changed June 05, 2008 02:21AM UTC by peterp comment:1

I have the exact same problem:

I have a div with overflow: auto;

if you take a draggable or sortable and scroll:

  • it appears to remember the old positions of the droppables, so moving the draggable a few pixels below the droppable will fire the droppables hoverClass. (scrolled with the mouse wheel)
  • when scroll:true on a sortable it's able to scroll up, but not down.
  • wether scrolling automatically or with the mouse wheel it doesn't seem to remember the positions of the droppables.

Changed June 05, 2008 02:32AM UTC by peterp comment:2

refreshPositions: true, solved this problem.

Changed June 07, 2008 08:49PM UTC by paul comment:3

status: newaccepted

Changed June 08, 2008 07:19AM UTC by paul comment:4

priority: majorminor

This is a known limitation - we're working on a fix, in the meantime please use refreshPositions. Also, it won't happen if the scrolling container is also the offset parent (the next positioned element).

Changed June 26, 2008 07:52PM UTC by rdworth comment:5

milestone: 1.51.5.2

Changed July 01, 2008 07:35PM UTC by paul comment:6

milestone: 1.5.21.6b
resolution: → fixed
status: acceptedclosed

Should be fixed in 1.6.