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/dist/index.esm.js CHANGED
@@ -439,7 +439,8 @@ 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
+ // alt + n
443
+ if (event.altKey && event.key.toLocaleLowerCase() === 'n') {
443
444
  event.preventDefault();
444
445
  setEnableKeyboardShortcuts(!enableKeyboardShortcuts);
445
446
  const currentCell = event.currentTarget;