Releases: clauderic/dnd-kit
Releases · clauderic/dnd-kit
Patch Changes
-
dbe0087
#335 Thanks @clauderic! - Fix getEventListenerTarget
when target element is not an instance of HTMLElement
-
5d4d292
#331 Thanks @phungleson! - Fix typo in SensorContext
type (scrollAdjustedTransalte
--> scrollAdjustedTranslate
)
Minor Changes
d39ab11
#316 Thanks @lsit! - Added ability to optionally return screen reader announcements onDragMove
.
Minor Changes
68960c4
#295 Thanks @akhmadullin! - @dnd-kit/core
is now a peerDependency
rather than a dependency
for other @dnd-kit
packages that depend on it, such as @dnd-kit/sortable
and @dnd-kit/modifiers
. This is done to avoid issues with multiple versions of @dnd-kit/core
being installed by some package managers such as Yarn 2.
Patch Changes
Minor Changes
68960c4
#295 Thanks @akhmadullin! - @dnd-kit/core
is now a peerDependency
rather than a dependency
for other @dnd-kit
packages that depend on it, such as @dnd-kit/sortable
and @dnd-kit/modifiers
. This is done to avoid issues with multiple versions of @dnd-kit/core
being installed by some package managers such as Yarn 2.
Patch Changes
Patch Changes
-
ae398de
Thanks @clauderic! - Allow setting an optional id
prop on DndContext
to fix a warning during server-side rendering (especially in Next.js). By default, this id
is autogenerated and can lead to a mismatch between the server- and client-side rendered HTML. We also avoid this mismatch by rendering the Accessibility
component only after everything else was initially mounted on the client.
-
8b938ce
Thanks @clauderic! - Hide the node in the overlay after the drop animation is finished. This prevents some flickering with React concurrent mode.
Patch Changes
0ff788e
#246 Thanks @inokawa! - DragOverlay
component now passes down style
prop to the wrapper element it renders.
Patch Changes
-
54c8778
#225 Thanks @clauderic! - Updated the active
rects type to ViewRect
(was previously incorrectly typed as LayoutRect
)
-
2ee96a5
#243 Thanks @py-wai! - Update regex used in isScrollable, to consider element with overflow: overlay as a scrollable element.
Patch Changes
f9ec28f
#217 Thanks @clauderic! - Fixes a regression introduced with @dnd-kit/[email protected]
that was causeing sensors to stop working after a drag operation where activation constraints were not met.