diff --git a/src/components/DataSheetGrid.tsx b/src/components/DataSheetGrid.tsx index cd3aa07..5c5bdd6 100644 --- a/src/components/DataSheetGrid.tsx +++ b/src/components/DataSheetGrid.tsx @@ -1359,7 +1359,7 @@ export const DataSheetGrid = React.memo( } } - if (event.key.startsWith('Arrow') || event.key === 'Tab') { + if (event.key?.startsWith('Arrow') || event.key === 'Tab') { if (editing && columns[activeCell.col + 1].disableKeys) { return }