Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bsholmes committed Dec 21, 2023
1 parent b3fdc89 commit cd5d4cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Table/GridTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ export function GridTable<R extends Kinded, X extends Only<GridTableXss, X> = an

// Get the flat list or rows from the header down...
visibleRows.forEach((rs) => {
// only pass through events if the row is draggable and the user has provided a callback
const dragEventHandler = (callback: OnRowDragEvent<R> | undefined) => (evt: DragEventType) => {
if (rs.row.draggable && droppedCallback && callback) {
callback({ ...rs.row }, evt);
Expand Down

0 comments on commit cd5d4cc

Please sign in to comment.