Releases: clauderic/dnd-kit
@dnd-kit/[email protected]
Patch Changes
- Updated dependencies []:
- @dnd-kit/[email protected]
@dnd-kit/[email protected]
Patch Changes
-
#1592
550a868
Thanks @github-actions! - Addedaria-grabbed
to the list of attributes added by the Accessibility plugin.Setting aria-grabbed to true indicates that the element has been selected for dragging. Setting aria-grabbed to false indicates that the element can be grabbed for a drag-and-drop operation, but is not currently grabbed.
While the
aria-grabbed
attribute has been deprecated in ARIA 1.1, in practice, since the accessibility API features for accessible drag and drop still don’t exist and likely won’t for several years, these attributes will continue to be supported by browsers and reflected in the accessibility tree for some years to come until a new API is introduced to replace it. -
#1592
75e23b6
Thanks @github-actions! - Addedaria-grabbed
andaria-pressed
to the list of attributes that are not synchronized between the draggable element and its placeholder. -
#1592
cef9b46
Thanks @github-actions! - Fix global modifiers set onDragDropManager
/<DragDropProvider>
being destroyed after the first drag operation. -
#1592
730064b
Thanks @github-actions! - Fix incorrect type for modifiers. -
#1592
808f184
Thanks @github-actions! - Fix reconciliation of optimistic updates inmove
helper. -
#1592
c4e7a7c
Thanks @github-actions! - Fixed positioning ofFeedback
plugin whendirection
is set tortl
. -
#1592
280b7e2
Thanks @github-actions! - Fixed stale modifiers when usinguseSortable
. -
#1592
84b75fc
Thanks @github-actions! - Fixedelement
not being set on initialization ofSortable
instance even if anelement
was provided as input. -
Updated dependencies [
c1dadef
,cef9b46
]:- @dnd-kit/[email protected]
- @dnd-kit/[email protected]
- @dnd-kit/[email protected]
- @dnd-kit/[email protected]
@dnd-kit/[email protected]
Patch Changes
- Updated dependencies [
c1dadef
,cef9b46
]:- @dnd-kit/[email protected]
- @dnd-kit/[email protected]
@dnd-kit/[email protected]
Patch Changes
-
#1592
c1dadef
Thanks @github-actions! - Fire a cancelleddragend
event when a drag operation is interrupted by theDragDropManager
being destroyed during an operation. -
#1592
cef9b46
Thanks @github-actions! - Fix global modifiers set onDragDropManager
/<DragDropProvider>
being destroyed after the first drag operation. -
Updated dependencies []:
- @dnd-kit/[email protected]
- @dnd-kit/[email protected]
@dnd-kit/[email protected]
@dnd-kit/[email protected]
Patch Changes
-
#1567
081b7f2
Thanks @chrisvxd! - Add source maps to output. -
#1554
7aeac23
Thanks @chrisvxd! - fix: don't lockup in React strict mode when using DragDropManager with the default manager -
#1454
d26fafe
Thanks @github-actions! - Prevent un-necessary re-renders of unuseduseSignal
values. -
#1454
d302511
Thanks @github-actions! - Prevent unstableref
from being set to undefined during a drag operation on draggable sources during a drag operation. -
#1591
548f011
Thanks @chrisvxd! - Address typo in React 19 peer dependency. -
#1590
5e55b89
Thanks @chrisvxd! - Add React 19 to list of supported peer dependencies. -
#1454
a5a556a
Thanks @github-actions! - Fixed React lifecycle regressions related to StrictMode. -
#1454
e2f5d93
Thanks @github-actions! -useSortable
: Make suregroup
andindex
are updated at the same time. -
#1454
ff17c04
Thanks @github-actions! - Allow dependencies to be passed touseComputed
hook. -
#1454
3312dcf
Thanks @github-actions! - Use layout effect to register instances in theuseInstance
hook. This fixes issues with effects running after the browser has painted during drag operations, which can result in invalid shapes or flickering. -
Updated dependencies [
984b5ab
,081b7f2
,d436037
,94920c8
,a04d3f8
,0676276
,8053e4b
,f400106
,c597b3f
,a8542de
,a9798f4
,f7458d9
,b750c05
,e70b29a
,3d0b00a
,e6a8e01
,7ef9864
,4d1a030
,51be6df
,fe76033
,62a8118
,a5933d8
,0c7bf85
,f219549
,bfc8ab2
,a5a556a
,b5edff1
,96f28ef
,3fb972e
,5b36f8f
,69bfad7
,c42a11b
]:- @dnd-kit/[email protected]
- @dnd-kit/[email protected]
- @dnd-kit/[email protected]
@dnd-kit/[email protected]
Patch Changes
-
#1567
081b7f2
Thanks @chrisvxd! - Add source maps to output. -
#1454
d272e76
Thanks @github-actions! - Fix a bug where the source would accidentally be moved below the target index due to rounding errors. -
#1454
1998c20
Thanks @github-actions! - Updated themove
helper to accept anevent
instead ofsource
andtarget
. -
Updated dependencies [
984b5ab
,081b7f2
,a04d3f8
,a8542de
,f7458d9
,e70b29a
,4d1a030
,a5933d8
,a5a556a
,96f28ef
]:- @dnd-kit/[email protected]
@dnd-kit/[email protected]
Patch Changes
-
#1567
081b7f2
Thanks @chrisvxd! - Add source maps to output. -
#1454
71dc39f
Thanks @github-actions! - Addedvelocity
property onPosition
interface to track the current velocity of position updates in thex
andy
axis. -
Updated dependencies [
081b7f2
,b750c05
]:- @dnd-kit/[email protected]
@dnd-kit/[email protected]
Patch Changes
-
#1567
081b7f2
Thanks @chrisvxd! - Add source maps to output. -
#1499
d436037
Thanks @chrisvxd! - Fix a bug that prevented all unique droppables that share an element from each receiving the cloned proxy. -
#1454
94920c8
Thanks @github-actions! - Batch write operations todraggable
anddroppable
. Also ensured that droppable instance is registered before draggable instance. -
#1454
a04d3f8
Thanks @github-actions! - Rework how collisions are detected and how the position of elements is observed using a newPositionObserver
. -
#1454
0676276
Thanks @github-actions! - Children contained in a closeddetails
element are no longer treated as visible. -
#1454
8053e4b
Thanks @github-actions! - AllowSortable
to have a distinctelement
from the underlyingsource
andtarget
elements. This can be useful if you want the collision detection to operate on a subset of the sortable element, but the entirety of the element to move when its index changes. -
#1454
f400106
Thanks @github-actions! - Improve theFeedback
plugin to better handle when the feedback element resizes during a drag operation. -
#1454
c597b3f
Thanks @github-actions! - IntroducerootElement
option onFeedback
plugin. -
#1454
a9798f4
Thanks @github-actions! - Fix issues withinstanceof
checks in cross-window environments where thewindow
of an element can differ from the execution context window. -
#1454
e70b29a
Thanks @github-actions! - Make sure the generic forDragDropManager
is passed through toEntity
so that themanager
reference on classes extendingEntity
is strongly typed. -
#1454
3d0b00a
Thanks @github-actions! - Fix an issue where we would update the shape of sortable items while the drag operation status was idle. -
#1454
e6a8e01
Thanks @github-actions! - Fix a bug withevent.preventDefault()
andevent.stopPropagation()
being called on pointer up even if there was no drag operation in progress, which would prevent interactive elements such as buttons from being clicked. -
#1454
7ef9864
Thanks @github-actions! - Fixed bugs with theOptimisticSortingPlugin
when sorting across different groups. -
#1454
51be6df
Thanks @github-actions! - Fixelement
not being set when provided on initialization ofDroppable
-
#1454
fe76033
Thanks @github-actions! - Fixed a bug in theKeyboardSensor
that would cause the sensor to activate when focusing elements within the sortable element other than the handle. -
#1454
62a8118
Thanks @github-actions! - AddedTab
to the list of default keycodes that end the current drag operation. -
#1454
0c7bf85
Thanks @github-actions! - Allow theOptimisticSortingPlugin
to sort elements across different groups. -
#1454
f219549
Thanks @github-actions! - Fix pointer events no longer being detected by thePointerSensor
when the event target is disconnected from the DOM by setting pointer capture on the document body forpointermove
events. -
#1454
bfc8ab2
Thanks @github-actions! - PointerSensor: Defer invokingsetPointerCapture
until activation constraints are met as it can interfere withclick
and other event handlers. Also deferred addingtouchmove
,click
andkeydown
event listeners until the activation constraints are met. -
#1454
a5a556a
Thanks @github-actions! - Fixed React lifecycle regressions related to StrictMode. -
#1454
b5edff1
Thanks @github-actions! - Removeevent.stopImmediatePropagation()
inPointerSensor
and replace with a different strategy to prevent other instances of PointerSensor from tracking an event that was already captured by another sensor. -
#1454
3fb972e
Thanks @github-actions! - AccessibilityPlugin: Forcetabindex="0"
in Safari even for natively focusable elements as they are not always focusable by default. -
#1454
5b36f8f
Thanks @github-actions! - Allow sortable animations when changing to a different group even when the index remains the same. -
#1454
69bfad7
Thanks @github-actions! -SortableKeyboardPlugin
: UseclosestCorners
collision detection algorithm instead ofclosestCenter
when keyboard sorting. -
#1517
c42a11b
Thanks @clauderic! - Support dragging across same-origin iframes. -
Updated dependencies [
984b5ab
,081b7f2
,69bfad7
,a04d3f8
,a8542de
,f7458d9
,b750c05
,e70b29a
,4d1a030
,a6366f9
,a5933d8
,a5a556a
, [96f28ef
](https://gi...
@dnd-kit/[email protected]
Patch Changes
-
#1567
081b7f2
Thanks @chrisvxd! - Add source maps to output. -
#1454
69bfad7
Thanks @github-actions! - IntroduceclosestCorners
collision detection algorithm. -
#1454
a8542de
Thanks @github-actions! - Fix issues withcollisionPriority
not being respected. -
#1454
a6366f9
Thanks @github-actions! - Improve accuracy ofshapeIntersection
when there are multiple intersecting shapes. -
Updated dependencies [
984b5ab
,081b7f2
,a04d3f8
,a8542de
,f7458d9
,e70b29a
,4d1a030
,a5933d8
,a5a556a
,96f28ef
,71dc39f
]:- @dnd-kit/[email protected]
- @dnd-kit/[email protected]