We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c34d87 commit 1ce39baCopy full SHA for 1ce39ba
src/Draggable/Draggable.js
@@ -557,11 +557,12 @@ export default class Draggable {
557
558
this.dragging = false;
559
560
+ const sensorEvent = getSensorEvent(event);
561
const dragStopEvent = new DragStopEvent({
562
source: this.source,
563
originalSource: this.originalSource,
- sensorEvent: event.sensorEvent,
564
sourceContainer: this.sourceContainer,
565
+ sensorEvent,
566
});
567
568
this.trigger(dragStopEvent);
@@ -605,8 +606,8 @@ export default class Draggable {
605
606
const dragStoppedEvent = new DragStoppedEvent({
607
608
609
610
611
612
613
this.trigger(dragStoppedEvent);
0 commit comments