Skip to content

Commit

Permalink
fix(core): segments missing while dragging
Browse files Browse the repository at this point in the history
When using DraggableList, some segments goes missing.

Fixes: #269
  • Loading branch information
rikteg authored and Tigge committed Aug 18, 2023
1 parent a21db06 commit 5e90887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/DraggableList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export const DraggableList: FC<DraggableListProps> = ({
const isLocked = locked[childIndex]

return (
<div key={index}>
<div key={childIndex}>
<DraggableItem
onDragStart={onDragStart}
onDragOver={isLocked ? undefined : onDragOver}
Expand Down

0 comments on commit 5e90887

Please sign in to comment.