Shopify / draggable

The JavaScript Drag & Drop library your grandparents warned you about.
https://shopify.github.io/draggable
MIT License
17.93k stars 1.09k forks source link

Sortable with fixed Layout #555

Open Jonassemm opened 1 year ago

Jonassemm commented 1 year ago

It would be nice to have the option to use Sortable with a fixed layout, similar to Swappable.

I have a list of elements that should be able to be sorted. But I have to have fixed elements between the sortable elements and they have to stay in place during sorting.

For Example:

<div class="list">
<div class="draggable"></div>
<div class="fixed"></div>
<div class="draggable"></div>
</div>

As far as I know, this is not possible at the moment?