SortableJS / Sortable

Reorderable drag-and-drop lists for modern browsers and touch devices. No jQuery or framework required.
https://sortablejs.github.io/Sortable/
MIT License
29.78k stars 3.7k forks source link

[feature] Shadow DOM support #2128

Open twilson90 opened 2 years ago

twilson90 commented 2 years ago

Seems a bit odd that it hasn't been implemented considering Shadow DOMs have been around for a while now.

Whenever I've tried using SortableJS in a Shadow DOM enviornment, there's a bunch of issues. Some are easy to resolve with a quick hack, but others are not.

Fairly simple to implement, mainly just replace instances of 'document' with the sortable element's root node w/ Element.getRootNode().

SalesforceBobLightning commented 11 months ago

Any word on when this might be completed? :)

YodasMyDad commented 4 days ago

Is this likely to be added?