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.js CHANGED
@@ -530,7 +530,8 @@ 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
+ // alt + n
534
+ if (event.altKey && event.key.toLocaleLowerCase() === 'n') {
534
535
  event.preventDefault();
535
536
  setEnableKeyboardShortcuts(!enableKeyboardShortcuts);
536
537
  const currentCell = event.currentTarget;