github clauderic/dnd-kit @dnd-kit/dom@0.1.3

latest releases: @dnd-kit/state@0.1.21, @dnd-kit/react@0.1.21, @dnd-kit/helpers@0.1.21...
4 months ago

Patch Changes

  • #1663 6c9a9ea Thanks @github-actions! - PointerSensor: Fixed a bug where actions.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 for Sortable instances that unmount and re-mount during a drag operation.

  • #1663 52c1ba3 Thanks @github-actions! - Implement default renderer for DOM using requestAnimationFrame 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() from start() 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
  • #1663 9a0edf6 Thanks @github-actions! - Refactor Sortable store implementation to use a new WeakStore class

    • Add new WeakStore constructor in @dnd-kit/state package
    • Replace Map-based store implementation in Sortable with new WeakStore utility
  • #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

Don't miss a new dnd-kit release

NewReleases is sending notifications on new releases.