Issue:
When feedback is disabled via Feedback.configure({ feedback: 'none' }), operation.transform in the onDragStart / onDragMove / onDragEnd events always remains at its initial value { x: 0, y: 0 }.
Background:
I'm using dnd-kit to implement card resize handles. In this scenario, I don't need any feedback element or overlay at all — the handle will be positioned according to the card's size rather than the mouse position.
In this case, I rely on the transform value from the events to compute the latest card's size.
Root cause:
dragOperation.snapshot().transform only reads from the cache without triggering a recomputation, and the transform is only computed inside the Feedback plugin (and only when a feedback element exists).
As a result, when feedback === 'none', dragOperation.snapshot().transform will always return only the initial value.
This looks like a bug — having system event values depend heavily on the internal behavior of a plugin feels like a leaky abstraction.
Issue:
When feedback is disabled via
Feedback.configure({ feedback: 'none' }),operation.transformin theonDragStart/onDragMove/onDragEndevents always remains at its initial value{ x: 0, y: 0 }.Background:
I'm using dnd-kit to implement card resize handles. In this scenario, I don't need any feedback element or overlay at all — the handle will be positioned according to the card's size rather than the mouse position.
In this case, I rely on the
transformvalue from the events to compute the latest card's size.Root cause:
dragOperation.snapshot().transformonly reads from the cache without triggering a recomputation, and thetransformis only computed inside the Feedback plugin (and only when a feedback element exists).As a result, when
feedback === 'none',dragOperation.snapshot().transformwill always return only the initial value.This looks like a bug — having system event values depend heavily on the internal behavior of a plugin feels like a leaky abstraction.