Opened 14 years ago
Closed 14 years ago
#4221 closed bug (notabug)
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: |
Description
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)
Change History (5)
Changed 14 years ago by
Attachment: | separator.txt added |
---|
comment:2 Changed 14 years ago by
Milestone: | TBD → 1.7 |
---|
comment:3 Changed 14 years ago by
Milestone: | 1.7 → 1.8 |
---|
comment:4 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
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.
Note: See
TracTickets for help on using
tickets.
Example code