@stenajs-webui/grid 15.5.1 → 15.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1570,12 +1570,8 @@ var StandardTableCell = React__namespace.memo(function StandardTableCell(_a) {
1570
1570
  ? isEditable(item)
1571
1571
  : undefined;
1572
1572
  var onKeyDownHandler = React.useCallback(function (ev) {
1573
- onKeyDownTable === null || onKeyDownTable === void 0 ? void 0 : onKeyDownTable(ev, { columnId: columnId, item: item });
1574
1573
  onKeyDownCell === null || onKeyDownCell === void 0 ? void 0 : onKeyDownCell(ev, { columnId: columnId, item: item });
1575
- if (ev.key !== "Tab" && (onKeyDownTable || onKeyDownCell)) {
1576
- ev.preventDefault();
1577
- ev.stopPropagation();
1578
- }
1574
+ onKeyDownTable === null || onKeyDownTable === void 0 ? void 0 : onKeyDownTable(ev, { columnId: columnId, item: item });
1579
1575
  }, [onKeyDownTable, columnId, item, onKeyDownCell]);
1580
1576
  var gridCell = useGridCell(label, __assign(__assign({ colIndex: colIndex, rowIndex: rowIndex, numRows: numRows, numCols: numNavigableColumns, tableId: tableId, isEditable: editable, onChange: onChange
1581
1577
  ? function (value) { return onChange(item, value); }