Skip to content

Commit

Permalink
fix: primefaces#7200 Fix Drag Selection for Datatable
Browse files Browse the repository at this point in the history
  • Loading branch information
gcko committed Sep 19, 2024
1 parent e49e824 commit 7df02d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/datatable/TableBody.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export const TableBody = React.memo(
};

const allowRowDrag = (event) => {
return (!allowCellSelection() && allowDrag(event)) || props.reorderableRows;
return (!allowCellSelection() && allowDrag({ originalEvent: event })) || props.reorderableRows;
};

const allowCellDrag = (event) => {
Expand Down

0 comments on commit 7df02d0

Please sign in to comment.