diff --git a/packages/common/src/lib/drag-drop/drag-drop.directive.ts b/packages/common/src/lib/drag-drop/drag-drop.directive.ts index 1efba3d133..e530c250ec 100644 --- a/packages/common/src/lib/drag-drop/drag-drop.directive.ts +++ b/packages/common/src/lib/drag-drop/drag-drop.directive.ts @@ -38,6 +38,11 @@ export class DragAndDropDirective { public onDrop(evt) { evt.preventDefault(); evt.stopPropagation(); + if (evt.alreadyFired) { + return; + } + evt.alreadyFired = true; + this.background = 'inherit'; const filesObj = this.validExtensions(evt); if (filesObj.valid.length) {