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/dist/index.esm.js CHANGED
@@ -439,10 +439,9 @@ const cellKeyboardShortcuts = ({ cell, cellElements, cellValue, containerElement
439
439
  debugger;
440
440
  const { getState, setEnableKeyboardShortcuts, } = table;
441
441
  const { enableKeyboardShortcuts } = getState();
442
- if (event.altKey) {
442
+ if (event.altKey && event.key.toLowerCase() === 'n') {
443
443
  event.preventDefault();
444
444
  setEnableKeyboardShortcuts(!enableKeyboardShortcuts);
445
- // return;
446
445
  }
447
446
  // if (!table.options.enableKeyboardShortcuts) return;
448
447
  if (!enableKeyboardShortcuts)