What’s Changed
New
- Added the opt-in
dndHideDraggingSourceinput to remove the original draggable element from layout after the browser captures its drag image. This is useful for sortable lists, grids, and nested layouts where the source would otherwise leave a visible ghost or occupy an extra layout position. (#308) - Added an interactive dragging-source visibility demo based on issue #157.
Fixes
- Validate custom drag data before starting a drag and clean up state when serialization or
DataTransfer.setData()fails. (#301, #304) - Correct placeholder positioning in horizontal right-to-left layouts. (#302)
- Unregister destroyed or replaced custom drag images correctly. (#303)
- Clean up active drag state when a directive is disabled or destroyed during a drag. (#304)
- Clean up pending one-shot drag listeners when a drag ends before its first
dragevent.
Testing and maintenance
- Expanded unit coverage for drag lifecycle cleanup, data-transfer failures, custom drag images, placeholder positioning, source visibility, and RTL behavior.
- Updated Angular 22 workspace dependencies, CI actions, Renovate grouping, and the lockfile.
Compatibility
This release remains compatible with Angular 22 and introduces no intentional breaking changes.
Full Changelog: v22.0.0...v22.1.0