Search and Top Navigation
#7619 open feature ()
Opened August 09, 2011 01:15PM UTC
Last modified March 16, 2013 06:33PM UTC
Sortable: Add refreshPositions option to detect dynamically created droppables
| Reported by: | mflerackers | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.0.0 |
| Component: | ui.sortable | Version: | 1.8.15 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
When dragging an item from a sortable to a draggable which is created dynamically, the item does not recognize the droppable because there is no refreshPositions:true for sortables. See http://jsfiddle.net/HANq6/8/.
Attachments (0)
Change History (4)
Changed August 09, 2011 01:22PM UTC by comment:1
| component: | ui.core → ui.sortable |
|---|---|
| type: | bug → feature |
Changed October 11, 2012 02:55PM UTC by comment:2
| milestone: | 1.9.0 → 2.0.0 |
|---|
Changed November 05, 2012 12:41PM UTC by comment:3
| status: | new → open |
|---|
Consider for redesign.
Changed March 16, 2013 06:33PM UTC by comment:4
| summary: | There is not way to refreshPositions for a sortable being dragged to a dynamically created draggable → Sortable: Add refreshPositions option to detect dynamically created droppables |
|---|
Here's a reduced test case against master: http://jsfiddle.net/tj_vantoll/YZvkp/
What's interesting is that sometimes the sortable recognizes the newly created droppable and sometimes it doesn't. Not sure why.