We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17fb869 commit ee4351fCopy full SHA for ee4351f
packages/frontend/src/components/SortableList/index.tsx
@@ -19,6 +19,7 @@ import {
19
arrayMove,
20
SortableContext,
21
sortableKeyboardCoordinates,
22
+ verticalListSortingStrategy,
23
} from '@dnd-kit/sortable'
24
25
import { DragHandle, SortableItem, SortableOverlay } from './components'
@@ -77,7 +78,7 @@ export function SortableList<T extends BaseItem>({
77
78
restrictToWindowEdges,
79
]}
80
>
- <SortableContext items={items}>
81
+ <SortableContext items={items} strategy={verticalListSortingStrategy}>
82
<ul className="SortableList" role="application">
83
{items.map((item) => (
84
<React.Fragment key={item.id}>
0 commit comments