From 3f8ddc6140f64c177dd9c913090f3d60c25a7e80 Mon Sep 17 00:00:00 2001 From: Leandro Abreu Date: Fri, 15 Nov 2024 16:46:26 +1100 Subject: [PATCH] Fixing bug #7321 --- components/lib/datatable/TableBody.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/datatable/TableBody.js b/components/lib/datatable/TableBody.js index 42db7fb240..fbd0215ecd 100644 --- a/components/lib/datatable/TableBody.js +++ b/components/lib/datatable/TableBody.js @@ -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');