From 78572139f045f219299f7688a6674e816a7513b1 Mon Sep 17 00:00:00 2001 From: Steven Job Date: Sun, 8 Jan 2017 10:19:30 +0000 Subject: [PATCH] fix: Fire file not over event on file drop (#174) --- src/directives/ng-file-drop.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);