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 +1 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/utils/cell.utils.ts +2 -2
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)
|