Patch Changes
-
#1663
6c9a9ea
Thanks @github-actions! - PointerSensor: Fixed a bug whereactions.stop()
would not be invoked if the drag operation had not finished initializing. -
#1663
79c6519
Thanks @github-actions! - Fix tracking of initial index and group forSortable
instances that unmount and re-mount during a drag operation. -
#1663
52c1ba3
Thanks @github-actions! - Implement default renderer for DOM usingrequestAnimationFrame
to ensure the browser has time to render animation frames. -
#1663
1bef872
Thanks @github-actions! - Improve drag operation control by:- Introducing
AbortController
for better operation lifecycle management - Remove
requestAnimationFram()
fromstart()
action - Replacing boolean returns with proper abort control
- Ensure proper cleanup of drag operations
- Improving status handling and initialization checks
- Making feedback plugin respect operation initialization state
- Introducing
-
#1663
9a0edf6
Thanks @github-actions! - Refactor Sortable store implementation to use a newWeakStore
class- Add new
WeakStore
constructor in@dnd-kit/state
package - Replace Map-based store implementation in Sortable with new WeakStore utility
- Add new
-
#1663
18a7998
Thanks @github-actions! - Removed unnecessary microtask in Sortable animation logic when index changes -
Updated dependencies [
8f91d91
,6c9a9ea
,1bef872
,2522836
,9a0edf6
,a9db4c7
]:- @dnd-kit/state@0.1.3
- @dnd-kit/abstract@0.1.3
- @dnd-kit/geometry@0.1.3
- @dnd-kit/collision@0.1.3