Skip to content

Commit 1fa4ad7

Browse files
committed
Dropzones don't let the drop event propagate
Dropping a commit or file won’t propagate outside of the dropzones
1 parent b866433 commit 1fa4ad7

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)