material-react-table-narender 2.13.15 → 2.13.16

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.15",
2
+ "version": "2.13.16",
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.",
@@ -88,10 +88,10 @@ export const cellKeyboardShortcuts = <TData extends MRT_RowData = MRT_RowData>({
88
88
 
89
89
  const { enableKeyboardShortcuts } = getState();
90
90
 
91
- if (event.altKey) {
91
+ if (event.altKey && event.key.toLowerCase() === 'n') {
92
92
  event.preventDefault();
93
93
  setEnableKeyboardShortcuts(!enableKeyboardShortcuts);
94
- // return;
94
+
95
95
  }
96
96
 
97
97
  // if (!table.options.enableKeyboardShortcuts) return;