ValentinH / react-easy-sort

A React component to sort items in lists or grids
https://ValentinH.github.io/react-easy-sort
MIT License
160 stars 25 forks source link

Support differently-sized items in the list #25

Open DCzajkowski opened 2 years ago

DCzajkowski commented 2 years ago

Is your feature request related to a problem? Please describe. Currently, we are using react-easy-sort for a list of elements with different height. Dragging them around moves items around, but they are moved by wrong distances (see attached screen cast).

Describe the solution you'd like Ideally, react-easy-sort should by default support items of variable height/width and allow to drag them around with no problems.

Describe alternatives you've considered NA

Additional context

https://user-images.githubusercontent.com/4501047/150535566-a9118628-0ce2-4688-ab88-9f4624517890.mov