Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit 5e90887

Browse files
riktegTigge
authored andcommitted
fix(core): segments missing while dragging
When using DraggableList, some segments goes missing. Fixes: #269
1 parent a21db06 commit 5e90887

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/DraggableList/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export const DraggableList: FC<DraggableListProps> = ({
165165
const isLocked = locked[childIndex]
166166

167167
return (
168-
<div key={index}>
168+
<div key={childIndex}>
169169
<DraggableItem
170170
onDragStart={onDragStart}
171171
onDragOver={isLocked ? undefined : onDragOver}

0 commit comments

Comments
 (0)