Dnd Kit Versions Save

The modern, lightweight, performant, accessible and extensible drag & drop toolkit for React.

@dnd-kit/[email protected]

5 months ago

Patch Changes

  • #1239 f342d5e Thanks @petdud! - Fix: getOwnerDocument should get correct document for SVG Elements

@dnd-kit/[email protected]

5 months ago

Patch Changes

@dnd-kit/[email protected]

5 months ago

Patch Changes

@dnd-kit/[email protected]

5 months ago

Minor Changes

  • #1271 bc588c7 Thanks @clauderic! - Introduce bypassActivationConstraint() option for PointerSensor, MouseSensor and TouchSensor. This optional argument can be used to conditionally bypass activation constraints. An example use-case would be to bypass activation constraints when the activator event target is the activatorNode of a draggable source.

    useSensor(PointerSensor, {
      activationConstraint: {
        delay: 250,
        tolerance: 5,
      },
      bypassActivationConstraint({event, activeNode}) {
        return activeNode.activatorNode.current?.contains(event.target);
      },
    });
    
  • #1269 b417f0f Thanks @clauderic! - Allow delay and distance activation constraints to be used concurrently for MouseSensor, TouchSensor and PointerSensor.

Patch Changes

@dnd-kit/[email protected]

5 months ago

Minor Changes

  • #1229 aabb8bd Thanks @ayy-bc! - Introduce ariaLiveType prop on <LiveRegion> to allow consumers to configure the aria-live attribute to other values for announcements, such as aria-live="polite".

@dnd-kit/[email protected]

1 year ago

Patch Changes

  • #1038 da888ee Thanks @WillDonohoe! - Fix errors with calls to getComputedStyle in Firefox when destructuring from the window object

@dnd-kit/[email protected]

1 year ago

Patch Changes

@dnd-kit/[email protected]

1 year ago

Patch Changes

@dnd-kit/[email protected]

1 year ago

Patch Changes

@dnd-kit/[email protected]

1 year ago

Patch Changes