react-sortablejs
react-sortablejs copied to clipboard
direction="horizontal" not work as expected
After I mentioned :
<ReactSortable list={state} setList={setState} direction="horizontal">
{state.map((item) => (
<div key={item.id}>{item.name}</div>
))}
</ReactSortable>
It doesn't aligned as expected why?
Same problem here, direction horizontal does not do anything