Search and Top Navigation
#9397 closed feature (plugin)
Opened June 25, 2013 12:04AM UTC
Closed June 25, 2013 02:11AM UTC
Add sortable option to show original position
Reported by: | mikerobinson | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.sortable | Version: | 1.10.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I think it would be useful to add an option to highlight the original location of an element in a sortable list. Something similar to http://jqueryui.com/sortable/#placeholder but in reverse; instead of highlighting the target, it would highlight the original location. This would allow the user to effectively "cancel" dragging without having to worry about remembering the exact position the element was originally in. I understand this would add an additional list item to the list, but if the highlight were also stylable, the user could reduce it to take up minimal space if that is somehow a concern.
Attachments (0)
Change History (1)
Changed June 25, 2013 02:11AM UTC by comment:1
resolution: | → plugin |
---|---|
status: | new → closed |
Hi mikerobinson,
Thanks for taking the time to contribute to the jQuery UI project.
IMO this is better handled as an extension, because:
#1) It's an edge case, and
#2) It's not too hard to build with the current API: http://jsfiddle.net/tj_vantoll/AnWff/
If you have any specific recommendations for how the widget could be made more extensible let us know. We're not changing the API of the interaction widgets until after our rewrite that's currently set for 1.13.