material-react-table-narender 2.13.10 → 2.13.11
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.esm.js +8 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/locales/te/index.d.ts +3 -0
- package/locales/te/index.esm.d.ts +3 -0
- package/locales/te/index.esm.js +95 -0
- package/locales/te/index.js +99 -0
- package/locales/te/package.json +6 -0
- package/package.json +1 -1
- package/src/utils/cell.utils.ts +8 -7
package/dist/index.esm.js
CHANGED
@@ -500,24 +500,24 @@ const cellKeyboardShortcuts = ({ cell, cellElements, cellValue, containerElement
|
|
500
500
|
const button = currentCell.querySelector('button');
|
501
501
|
const autocomplete = currentCell.querySelector('.MuiAutocomplete-root input[type="text"]');
|
502
502
|
// Focus the appropriate element
|
503
|
-
if (
|
503
|
+
if (autocomplete) {
|
504
|
+
autocomplete.focus();
|
505
|
+
(_j = autocomplete.select) === null || _j === void 0 ? void 0 : _j.call(autocomplete);
|
506
|
+
}
|
507
|
+
else if (input) {
|
504
508
|
input.focus();
|
505
|
-
(
|
509
|
+
(_k = input.select) === null || _k === void 0 ? void 0 : _k.call(input);
|
506
510
|
}
|
507
511
|
else if (select) {
|
508
512
|
select.focus();
|
509
513
|
}
|
510
514
|
else if (checkbox) {
|
511
515
|
checkbox.focus();
|
512
|
-
checkbox.click();
|
516
|
+
// checkbox.click();
|
513
517
|
}
|
514
518
|
else if (button) {
|
515
519
|
button.focus();
|
516
|
-
button.click();
|
517
|
-
}
|
518
|
-
else if (autocomplete) {
|
519
|
-
autocomplete.focus();
|
520
|
-
(_k = autocomplete.select) === null || _k === void 0 ? void 0 : _k.call(autocomplete);
|
520
|
+
// button.click();
|
521
521
|
}
|
522
522
|
}
|
523
523
|
}
|