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.js CHANGED
@@ -530,10 +530,9 @@ const cellKeyboardShortcuts = ({ cell, cellElements, cellValue, containerElement
530
530
  debugger;
531
531
  const { getState, setEnableKeyboardShortcuts, } = table;
532
532
  const { enableKeyboardShortcuts } = getState();
533
- if (event.altKey) {
533
+ if (event.altKey && event.key.toLowerCase() === 'n') {
534
534
  event.preventDefault();
535
535
  setEnableKeyboardShortcuts(!enableKeyboardShortcuts);
536
- // return;
537
536
  }
538
537
  // if (!table.options.enableKeyboardShortcuts) return;
539
538
  if (!enableKeyboardShortcuts)