Esri / calcite-design-system

A monorepo containing the packages for Esri's Calcite Design System
https://developers.arcgis.com/calcite-design-system/
Other
285 stars 76 forks source link

Support List multi-drag #8170

Open crowjonah opened 10 months ago

crowjonah commented 10 months ago

Check existing issues

Description

I need to be able to reorder multiple calcite-list-items in a list, both contiguous and non-contiguous selections.

Acceptance Criteria

When multi-drag is enabled, I should be able to reorder multiple items with a single drag action.

Relevant Info

I do not expect to be able to drag multiple items that exist at different levels of nesting. The calcite-list component currently supports selection-mode='multiple' as well as drag-enabled, but selection is currently unrelated to drag functionality. This will also have implications for keyboarding, which should also support this behavior: [List and List Item] Support sorting for AT users

Which Component

This may also be relevant to other components implementing SortableComponent

Example Use Case

The underlying SortableJS library has a built-in multi-drag plugin which has a demo

Priority impact

p3 - want for upcoming milestone

Calcite package

Esri team

ArcGIS Field Apps

geospatialem commented 3 months ago

The above could have a greater negative impact for more users, Calcite would need more users and developers to request the above prior to implementing in a future release.