Releases: clauderic/dnd-kit
@dnd-kit/[email protected]
Patch Changes
- Updated dependencies [
bc588c7
,b417f0f
,f342d5e
]:- @dnd-kit/[email protected]
- @dnd-kit/[email protected]
@dnd-kit/[email protected]
Minor Changes
-
#1271
bc588c7
Thanks @clauderic! - IntroducebypassActivationConstraint()
option forPointerSensor
,MouseSensor
andTouchSensor
. 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 theactivatorNode
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! - Allowdelay
anddistance
activation constraints to be used concurrently forMouseSensor
,TouchSensor
andPointerSensor
.
Patch Changes
- Updated dependencies [
aabb8bd
,f342d5e
]:- @dnd-kit/[email protected]
- @dnd-kit/[email protected]
@dnd-kit/[email protected]
@dnd-kit/[email protected]
Patch Changes
- #1038
da888ee
Thanks @WillDonohoe! - Fix errors with calls togetComputedStyle
in Firefox when destructuring from the window object
@dnd-kit/[email protected]
Patch Changes
-
#788
da94c02
Thanks @clauderic! - Bug fixes for React 18 Strict Mode -
Updated dependencies [
da94c02
]:- @dnd-kit/[email protected]
@dnd-kit/[email protected]
Patch Changes
- #788
da94c02
Thanks @clauderic! - Bug fixes for React 18 Strict Mode
@dnd-kit/[email protected]
@dnd-kit/[email protected]
Patch Changes
-
#823
b065c37
Thanks @DaniGuardiola! - Add missing peer dependency to @dnd-kit/modifiers -
Updated dependencies [
da7c60d
]:- @dnd-kit/[email protected]
- @dnd-kit/[email protected]
@dnd-kit/[email protected]
Patch Changes
-
Updated dependencies [
da7c60d
]:- @dnd-kit/[email protected]
@dnd-kit/[email protected]
Patch Changes
-
#792
b6970e7
Thanks @clauderic! - ThehasSortableData
type-guard that is exported by @dnd-kit/sortable has been updated to also accept theActive
andOver
interfaces so it can be used in events such asonDragStart
,onDragOver
, andonDragEnd
. -
Updated dependencies [
eaa6e12
]:- @dnd-kit/[email protected]