Releases: clauderic/dnd-kit
@dnd-kit/[email protected]
Patch Changes
-
#1430
6c84308
Thanks @clauderic! - -useDraggable
: Fixed a bug where theelement
was not properly being set on initialization -
#1430
2c3ad5e
Thanks @clauderic! - - Fix issues with<StrictMode>
in React -
Updated dependencies [
6c84308
,6c84308
,d273f70
,34c6fdc
,2c3ad5e
]:- @dnd-kit/[email protected]
- @dnd-kit/[email protected]
- @dnd-kit/[email protected]
@dnd-kit/[email protected]
Patch Changes
- Updated dependencies []:
- @dnd-kit/[email protected]
@dnd-kit/[email protected]
Patch Changes
- Updated dependencies [
6c84308
]:- @dnd-kit/[email protected]
@dnd-kit/[email protected]
Patch Changes
-
#1430
6c84308
Thanks @clauderic! - -Sortable
: Fixed a bug with optimistic re-ordering.Scroller
: Fixed a bug with auto-scrolling when target is position fixed
-
#1430
d273f70
Thanks @clauderic! - -Feedback
: Fixed a bug with transitions being interrupted on drop when the draggable element has not been moved. -
#1430
34c6fdc
Thanks @clauderic! - -AutoScroller
: Improve auto-scroller to continue scrolling even when outside the bounds of the element currently being scrolled. -
#1430
2c3ad5e
Thanks @clauderic! - -Feedback
: Only restore focus after drop if theactivatorEvent
is a keyboard event. -
Updated dependencies [
6c84308
]:- @dnd-kit/[email protected]
- @dnd-kit/[email protected]
- @dnd-kit/[email protected]
- @dnd-kit/[email protected]
@dnd-kit/[email protected]
Patch Changes
- Updated dependencies []:
- @dnd-kit/[email protected]
- @dnd-kit/[email protected]
@dnd-kit/[email protected]
Patch Changes
- Updated dependencies [
6c84308
]:- @dnd-kit/[email protected]
- @dnd-kit/[email protected]
@dnd-kit/[email protected]
@dnd-kit/[email protected]
Patch Changes
- Updated dependencies [
bc588c7
,b417f0f
,f342d5e
]:- @dnd-kit/[email protected]
- @dnd-kit/[email protected]
@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]