We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b4d0ec commit 497624aCopy full SHA for 497624a
src/Draggable/Draggable.js
@@ -563,11 +563,12 @@ export default class Draggable {
563
564
this.dragging = false;
565
566
+ const sensorEvent = getSensorEvent(event);
567
const dragStopEvent = new DragStopEvent({
568
source: this.source,
569
originalSource: this.originalSource,
- sensorEvent: event.sensorEvent,
570
sourceContainer: this.sourceContainer,
571
+ sensorEvent,
572
});
573
574
this.trigger(dragStopEvent);
@@ -611,8 +612,8 @@ export default class Draggable {
611
612
const dragStoppedEvent = new DragStoppedEvent({
613
614
615
616
617
618
619
this.trigger(dragStoppedEvent);
0 commit comments