Skip to content

Commit

Permalink
fix(Draggable): dont disable droppable on false ondrag (#9646)
Browse files Browse the repository at this point in the history
  • Loading branch information
gitdallas authored Sep 25, 2023
1 parent f5d67f7 commit 8e1e08d
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 8e1e08d

Please sign in to comment.