Skip to main content

Search and Top Navigation

#4221 closed bug (notabug)

Opened February 24, 2009 10:05AM UTC

Closed August 22, 2009 01:28PM UTC

Sortable Lists deactivate if empty

Reported by: tehmeph Owned by:
Priority: major Milestone: 1.8
Component: ui.sortable Version: 1.6rc6
Keywords: Cc:
Blocked by: Blocking:

I've got two connected "sortables:" #left_drag_area and #right_drag_area.

If I drag all of the items out of either of them, the now-empty one seems to be deactivated and I can no longer drag anything into them.

Code is attached

Attachments (1)
  • separator.txt (1.4 KB) - added by tehmeph February 24, 2009 10:07AM UTC.

    Example code

Change History (4)

Changed February 24, 2009 10:08AM UTC by tehmeph comment:1

Just to be certain, testing in Firefox 3.0 and 3.1-beta2

Changed February 27, 2009 07:31PM UTC by jzaefferer comment:2

milestone: TBD1.7

Changed March 08, 2009 02:30PM UTC by rdworth comment:3

milestone: 1.71.8

Changed August 22, 2009 01:28PM UTC by paul comment:4

resolution: → invalid
status: newclosed

This is not a bug. The problem you have is that the actual element the sortable() function is applied on needs to have a width and height, even if it is empty, in order to be able to accept items.