github clauderic/dnd-kit @dnd-kit/react@0.0.9

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

Patch Changes

  • #1600 d86bbc7 Thanks @github-actions! - Added alignment configuration option to draggable instances to let consumers decide how to align the draggable during the drop animation and while keyboard sorting. Defaults to the center of the target shape.

  • #1600 2b76c19 Thanks @github-actions! - Added style and tag props to <DragOverlay> component.

  • #1600 b8898bc Thanks @github-actions! - Re-export isSortable from @dnd-kit/react/sortable so React consumers don't have to import it from @dnd-kit/dom/sortable.

  • #1600 c5f25c8 Thanks @github-actions! - Force synchronous re-render when isDragSource property is updated from true to false to enable seamless transition into idle state after drop animation. Without this change, the drop animation can finish before React has had a chance to update the drag source styles back to its idle state, which can cause some flickering.

  • Updated dependencies [e36d954, bb4abcd, d86bbc7, f433fb2, 7dc0103, cff3c3c, b7f1cf8, f87d633, 860759b, 54e416f, 3e629cc, c51778d, 86ed6c8, afedea9, ce31da7]:

    • @dnd-kit/abstract@0.0.9
    • @dnd-kit/dom@0.0.9
    • @dnd-kit/state@0.0.9

Don't miss a new dnd-kit release

NewReleases is sending notifications on new releases.