primitives icon indicating copy to clipboard operation
primitives copied to clipboard

[New Primitive] `SortableList`

Open VaibhavAcharya opened this issue 4 years ago • 6 comments

Feature request

Overview

A accessible primitive drag and drop for sortable lists (& other stuff).

Examples in other libraries

Who does this impact? Who is this for?

Would be helpful for all users as this feature can be seen at many places now. Ex. Notion, Github, etc.

Additional context

Demo from react-beautiful-dnd

VaibhavAcharya avatar Jul 31 '21 15:07 VaibhavAcharya

Nice suggestion! tagging @colmtuite for visibility / future consideration.

andy-hook avatar Aug 02 '21 17:08 andy-hook

+1 for this. Every app I’ve worked on (of substantial size) has needed something like this. To have a primitive with an easy to use api that works cross device/input/browser would be awesome!!

rafgraph avatar Aug 02 '21 19:08 rafgraph

+1 too

andrevenancio avatar Aug 10 '21 20:08 andrevenancio

Are there specific issues that you all see in the other libs mentioned above? Or is it more a matter of wanting similar APIs for all components in your app?

colmtuite avatar Aug 10 '21 23:08 colmtuite

In my specific case, similar API components.

andrevenancio avatar Aug 11 '21 09:08 andrevenancio

I have made a sortable list primitive with dndkit for my project, would that be welcome as a PR? (Note that my primitive is just a sortable list, no adding/deleting items, no nested lists. yet)

chris-kruining avatar Apr 07 '22 15:04 chris-kruining