Skip to content

Commit

Permalink
fix(Draggable): dont disable droppable on false ondrag
Browse files Browse the repository at this point in the history
  • Loading branch information
gitdallas committed Sep 19, 2023
1 parent 1c70d68 commit 397119d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-core/src/components/DragDrop/Draggable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ export const Draggable: React.FunctionComponent<DraggableProps> = ({

if (!onDrag({ droppableId, index })) {
// Consumer disallowed drag
droppableItems.forEach((item) => resetDroppableItem(item));
return;
}

Expand Down

0 comments on commit 397119d

Please sign in to comment.