[List and List Item] Cancel drag reorder on ESC #9314
Labels
0 - new
New issues that need assignment.
a11y
Issues related to Accessibility fixes or improvements.
ArcGIS Field Apps
Issues logged by ArcGIS Field Apps team members.
calcite-components
Issues specific to the @esri/calcite-components package.
enhancement
Issues tied to a new feature or request.
impact - p3 - not time sensitive
User set priority impact status of p3 - not time sensitive
needs triage
Planning workflow - pending design/dev review.
Check existing issues
Description
When utilizing the calcite-list and calcite-list-item for draggable items, cancelling a drag operation with the ESC key unexpectedly commits the reorder, contrary to expectations where the item should return to its original position.
Acceptance Criteria
The dragged item should revert to its original position when the ESC key is pressed, indicating that the drag operation has been canceled.
Relevant Info
This issue has been consistently observed across different implementations including the Calcite documentation pages and external applications like MapViewer. It was initially mentioned in a prior issue (#6554 (comment)).
Which Component
List and List Item
Example Use Case
Current behavior of the list component as demo'd on the doc site: https://codepen.io/crow-jonah-norlander/pen/qBGBeOd?editors=100
Priority impact
p4 - not time sensitive
Calcite package
Esri team
ArcGIS Field Apps
The text was updated successfully, but these errors were encountered: