Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#5771 closed enhancement (wontfix)

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.

Change History (2)

comment:1 Changed 9 years ago by rdworth

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

comment:2 Changed 7 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.