SortableJS / react-sortablejs

React bindings for SortableJS
http://sortablejs.github.io/react-sortablejs/
MIT License
1.98k stars 206 forks source link

direction="horizontal" not work as expected #285

Open aminsoraya opened 9 months ago

aminsoraya commented 9 months ago

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?

R3D347HR4Y commented 8 months ago

Same problem here, direction horizontal does not do anything