diff --git a/components/lib/datatable/TableBody.js b/components/lib/datatable/TableBody.js index 427c7c8f7e..0c22e16ce2 100644 --- a/components/lib/datatable/TableBody.js +++ b/components/lib/datatable/TableBody.js @@ -471,10 +471,12 @@ export const TableBody = React.memo( }; const onRowClick = (event) => { - if (allowCellSelection() || !allowSelection(event) || event.defaultPrevented) { + if (allowCellSelection() || !allowSelection(event) || event.defaultPrevented || event.originalEvent.defaultPrevented) { return; } + console.log('OnClick'); + props.onRowClick && props.onRowClick(event); if (allowRowSelection()) {