feat(cdk/drag-drop): allow drag to be canceled after dragged over list
- Dominant language
- TypeScript
- Stars
- 25k
- Forks
- 6.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 91
Description
### Feature Description
Items actively dragged from one list to another, but without releasing the drag, cannot be canceled. The list changes immediately and the user cannot undo the action. This issue tracks the request to enable an API that lets dragging be canceled, e.g. by undo'ing the list changes (or not change the lists at all) if the item is not dropped onto a drop container
### Use Case
_No response_
Contributor guide
Research direction
The issue names no files or tests, so start by locating the CDK drag-drop implementation and its existing drag/drop API. Compare list updates when an item is dragged over another list with the behavior when it is not dropped, then clarify the cancellation contract. Done means canceled drags do not leave unintended list changes and the API behavior is covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- angular, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100