@trackunit/react-table 0.0.579 → 0.0.582
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/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -347,7 +347,7 @@ const Table = ({ rowHeight = 75, ...props }) => {
|
|
|
347
347
|
transform: `translateY(${virtualRow.start - index * virtualRow.size}px)`,
|
|
348
348
|
}, children: row.getVisibleCells().map(cell => {
|
|
349
349
|
var _a, _b;
|
|
350
|
-
return (jsxRuntime.jsx(reactTableBaseComponents.Td, { onClick:
|
|
350
|
+
return (jsxRuntime.jsx(reactTableBaseComponents.Td, { onClick: event => {
|
|
351
351
|
// prevent onRowClick action when clicking on a "selectable" cell with checkbox
|
|
352
352
|
if (props.selectionColId && cell.column.id === props.selectionColId) {
|
|
353
353
|
event.stopPropagation();
|
package/index.esm.js
CHANGED
|
@@ -328,7 +328,7 @@ const Table = ({ rowHeight = 75, ...props }) => {
|
|
|
328
328
|
transform: `translateY(${virtualRow.start - index * virtualRow.size}px)`,
|
|
329
329
|
}, children: row.getVisibleCells().map(cell => {
|
|
330
330
|
var _a, _b;
|
|
331
|
-
return (jsx(Td, { onClick:
|
|
331
|
+
return (jsx(Td, { onClick: event => {
|
|
332
332
|
// prevent onRowClick action when clicking on a "selectable" cell with checkbox
|
|
333
333
|
if (props.selectionColId && cell.column.id === props.selectionColId) {
|
|
334
334
|
event.stopPropagation();
|