Skip to content

Commit 6e797f9

Browse files
committed
Update useKeyboardNavigation.ts
1 parent 3f550ef commit 6e797f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/main/src/components/AnalyticalTable/hooks/useKeyboardNavigation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ const useGetTableProps = (
342342
tableProps,
343343
{
344344
onFocus: onTableFocus,
345-
onKeyDown: state.cellContentTabIndex === -1 ? onKeyboardNavigation : handleEditModeKeyDown,
345+
onKeyDown: state.cellContentTabIndex === 0 ? handleEditModeKeyDown : onKeyboardNavigation,
346346
onBlur: onTableBlur,
347347
},
348348
];

0 commit comments

Comments
 (0)