Skip to main content

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:

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 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 tj.vantoll comment:1

resolution: → plugin
status: newclosed

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:

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.