From fb0fbd647f51d636b38d0695b30be3fbb7dddda8 Mon Sep 17 00:00:00 2001 From: damien Date: Thu, 11 Mar 2021 11:44:24 +0100 Subject: [PATCH] add shift as multiple key --- packages/grid/_modules_/grid/utils/keyboardUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grid/_modules_/grid/utils/keyboardUtils.ts b/packages/grid/_modules_/grid/utils/keyboardUtils.ts index e411bfa9eeb74..3124e5a6cfa20 100644 --- a/packages/grid/_modules_/grid/utils/keyboardUtils.ts +++ b/packages/grid/_modules_/grid/utils/keyboardUtils.ts @@ -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';