Skip to content

Commit

Permalink
[DataGrid] add shift as multiple key (#1203)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtassone authored Mar 11, 2021
1 parent 517ed5e commit 0314e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/grid/_modules_/grid/utils/keyboardUtils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const GRID_MULTIPLE_SELECTION_KEYS = ['Meta', 'Control'];
export const GRID_MULTIPLE_SELECTION_KEYS = ['Meta', 'Control', 'Shift'];
export const isMultipleKey = (key: string): boolean =>
GRID_MULTIPLE_SELECTION_KEYS.indexOf(key) > -1;
export const isTabKey = (key: string): boolean => key === 'Tab';
Expand Down

0 comments on commit 0314e87

Please sign in to comment.