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/package.json
CHANGED
package/src/utils/cell.utils.ts
CHANGED
@@ -88,10 +88,10 @@ export const cellKeyboardShortcuts = <TData extends MRT_RowData = MRT_RowData>({
|
|
88
88
|
|
89
89
|
const { enableKeyboardShortcuts } = getState();
|
90
90
|
|
91
|
-
|
91
|
+
if (event.altKey && event.key.toLowerCase() === 'n') {
|
92
92
|
event.preventDefault();
|
93
93
|
setEnableKeyboardShortcuts(!enableKeyboardShortcuts);
|
94
|
-
|
94
|
+
|
95
95
|
}
|
96
96
|
|
97
97
|
// if (!table.options.enableKeyboardShortcuts) return;
|