Patch Changes
-
#1600
e36d954
Thanks @github-actions! - AddednativeEvent
property todragstart
,dragmove
anddragend
events. This can be used to distinguish user triggered events from sensor triggered events, as user or plugin triggered events will typically not have an associatedevent
attached. -
#1600
bb4abcd
Thanks @github-actions! - Make sure the Feedback element is promoted to the top layer when synchronizing the placeholder and element position in the DOM. -
#1600
d86bbc7
Thanks @github-actions! - Addedalignment
configuration option to draggable instances to let consumers decide how to align the draggable during the drop animation and while keyboard sorting. Defaults to the center of the target shape. -
#1600
f433fb2
Thanks @github-actions! - Fixed a regression in theFeedback
plugin where the initialtranslate
style applied to the element being dragged was not properly accounted for anymore. -
#1600
7dc0103
Thanks @github-actions! - Removed some!important
rules and updated the specificity of theFeedback
plugin styles to0-2-0
to make it easier for consumers to override certain styles, such aswidth
andheight
. -
cff3c3c
Thanks @clauderic! - Fixed a bug with the drop animation by usingintrinsicWidth
andintrinsicHeight
to determine if the width and height of the source and target differ or not rather than thewidth
andheight
properties which may be transformed. -
#1600
f87d633
Thanks @github-actions! - Fixed a regression introduced in0.0.7
with optimistic updates not being persisted on drag end. -
860759b
Thanks @clauderic! - AddedintrinsicWidth
andintrinsicHeight
properties onDOMRectangle
, which return the intrinsic width and height of an element, before any transforms are applied. -
#1600
54e416f
Thanks @github-actions! - Only handledragmove
events that have an associatedKeyboardEvent
as theirevent.nativeEvent
property. -
#1600
c51778d
Thanks @github-actions! - PointerSensor: Usecapture
listener to preventdragstart
events. -
#1600
86ed6c8
Thanks @github-actions! - Fixed a regression in thePointerSensor
where the same drag operation could fire a dragend event twice due to a race condition betweenpointerup
andlostpointercapture
. -
#1600
afedea9
Thanks @github-actions! - PreventSelection: Remove text selection when a drag operation is initialized. -
Updated dependencies [
e36d954
,60e7297
,3463da1
,b7f1cf8
,3e629cc
,8ae7014
,ce31da7
]:- @dnd-kit/abstract@0.0.9
- @dnd-kit/geometry@0.0.9
- @dnd-kit/collision@0.0.9
- @dnd-kit/state@0.0.9