Skip to main content

Search and Top Navigation

#5771 closed enhancement (wontfix)

Opened June 25, 2010 08:33PM UTC

Closed June 26, 2010 10:59AM UTC

Last modified October 11, 2012 09:15PM UTC

Selectable: Meta AND Shift key should allow multiple non-adjacent selections

Reported by: Alfgar Owned by:
Priority: trivial Milestone:
Component: ui.selectable Version: 1.8.2
Keywords: Cc:
Blocked by: Blocking:
Description

To follow more standard Apple Finder & Windows Explorer behavior.

Code change is trivial:

In .selectable's definition, replace:

event.metaKey

and (for minified version)

c.metaKey

by:

(event.metaKey || event.shiftKey)

and

(c.metaKey [||] c.shiftKey)

, respectively, with parenthesis for proper boolean logic.

Attachments (0)
Change History (2)

Changed June 26, 2010 10:59AM UTC by rdworth comment:1

resolution: → wontfix
status: newclosed

This follows Apple Finder behavior (do non-adjacent selection whether Meta or Shift) but it doesn't follow Windows Explorer behavior (do non-adjacent selections with Meta, do range selection with Shift). We'll be implementing the latter as it's much more powerful to do two things with two keys instead of one thing with two keys.

It's all spec'd out here: http://wiki.jqueryui.com/Selectable

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted