Search and Top Navigation
#4205 closed feature (duplicate)
Opened February 21, 2009 12:33PM UTC
Closed February 05, 2013 05:43PM UTC
Selectable: Unselecting selecting elements (+ sortables no conflict)
Reported by: | rudasn | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 2.0.0 |
Component: | ui.selectable | Version: | 1.6rc6 |
Keywords: | selectable, sortable, no conflict | Cc: | |
Blocked by: | Blocking: |
Description
When I click on (or drag over) an unselected element it is selected.
So I would expect that doing the same action on a selected element it will be unselected. In this way, if I select multiple elements and realise that the one in the middle is not what I wanted I can click on it and deselect it. Likewise, if I have a large list of items and I want to select all but a few, I can select those few first and then select them all (which would deselect the few previously selected elements).
I find this kind of behaviour more intuitive and more practical. What do you guys think?
I've implemented this functionality, along with a 'noConflict' option so that selectables works with sortables, in this demo:
http://nicolas.rudas.info/jquery/selectables_sortables/
Changes are attached here but also found in the link above.
Attachments (1)
Change History (8)
Changed February 21, 2009 12:44PM UTC by comment:1
Changed April 02, 2009 01:18PM UTC by comment:2
Awesome idea (also takes care of ticket #2946 http://dev.jqueryui.com/ticket/2946). A side note- it doesn't work in Chrome, if you weren't aware already.
Changed May 07, 2009 12:46PM UTC by comment:3
milestone: | TBD → 1.8 |
---|
Needs testing.
Changed December 02, 2009 01:36PM UTC by comment:4
Has this been merged in 1.8a1? How do I use it?
Changed December 05, 2009 04:12PM UTC by comment:5
It doesn't work in IE8 either.
Changed October 11, 2012 02:52PM UTC by comment:6
milestone: | 1.9.0 → 2.0.0 |
---|
Changed November 05, 2012 09:47AM UTC by comment:7
status: | new → open |
---|
Consider for redesign.
Forgot to mention that I haven't really tested this and if it plays nicely with the rest of the plugins or ui core. However, the changes made are quite specific to selectables and sortables so I assume it would be ok.