material-react-table-narender 2.13.19 → 2.13.20

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.13.19",
2
+ "version": "2.13.20",
3
3
  "license": "MIT",
4
4
  "name": "material-react-table-narender",
5
5
  "description": "A fully featured Material UI V5 implementation of TanStack React Table V8, written from the ground up in TypeScript.",
@@ -90,7 +90,8 @@ export const cellKeyboardShortcuts = <TData extends MRT_RowData = MRT_RowData>({
90
90
 
91
91
  const { enableKeyboardShortcuts } = getState();
92
92
 
93
- if (event.altKey) {
93
+ // alt + n
94
+ if (event.altKey && event.key.toLocaleLowerCase() === 'n') {
94
95
  event.preventDefault();
95
96
  setEnableKeyboardShortcuts(!enableKeyboardShortcuts);
96
97
  const currentCell = event.currentTarget;