Skip to content

Commit

Permalink
Fixing bug #7321
Browse files Browse the repository at this point in the history
  • Loading branch information
Leandro Abreu committed Nov 15, 2024
1 parent e7dc619 commit 3f8ddc6
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 @@ -597,7 +597,7 @@ export const TableBody = React.memo(
: DomHandler.hasClass(event.target, 'p-datatable-reorderablerow-handle') || event.target.closest('.p-datatable-reorderablerow-handle');

event.currentTarget.draggable = isDraggableHandle;
event.target.draggable = !isDraggableHandle;
event.target.draggable = isDraggableHandle;

if (allowRowDrag(e)) {
enableDragSelection(event, 'row');
Expand Down

0 comments on commit 3f8ddc6

Please sign in to comment.