Skip to content

Commit cf1a3db

Browse files
authored
Merge pull request #10370 from gitbutlerapp/fix-dropzone-drop-event-propagation
Dropzones don't let the drop event propagate
2 parents 0353fd3 + 1fa4ad7 commit cf1a3db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/desktop/src/lib/dragging/dropzone.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ export class Dropzone {
105105

106106
private async onDrop(e: DragEvent) {
107107
e.preventDefault();
108+
e.stopPropagation();
108109
if (!this.activated) return;
109110
this.acceptedHandler?.ondrop(this.data);
110111
}

0 commit comments

Comments
 (0)