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.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)
|