DEV Community

Cover image for Multi-column drag and drop with SortableJS and Stimulus

Multi-column drag and drop with SortableJS and Stimulus

Vlad Andreev on February 18, 2024

Preface Recently, in a Rails project, I was tasked with implementing the ability to drag and drop cards both within a single list and be...
Collapse
 
janmpeterka profile image
Jan Peterka

Some time ago, I needed this too, and added issue on the stimulus-sortable repo.
Sadly, activity of the project creator is limited (which is fully understandable), so I found some workaroud myself (shown in issue).

Thanks for this article, I will soon to use this functionality again in slightly different context, so it will come handy.

Maybe you can create a PR in the project (or first ask in the issue if that would be acceptable for the maintainer)? It would be really nice to have that support in the component, making it acessible for many devs.