diff --git a/src/directives/ng-file-drop.ts b/src/directives/ng-file-drop.ts index b4b982d4..21a4a966 100644 --- a/src/directives/ng-file-drop.ts +++ b/src/directives/ng-file-drop.ts @@ -77,7 +77,7 @@ export class NgFileDropDirective implements OnChanges, OnInit { this.el.nativeElement.addEventListener('drop', (e: any) => { e.stopPropagation(); e.preventDefault(); - + this.onFileOver.emit(false); this.files = Array.from(e.dataTransfer.files); if (this.files.length) { this.uploader.addFilesToQueue(this.files);