[Bug on IE]: (onFileSelected) event is getting triggered twice in Internet Explorer #1069
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have a some code like the following:
<input (onFileSelected)="uploadSelectedFiles()" type="file" ng2FileSelect [uploader]="uploader" multiple />I tried to put a
statement in uploadSelectedFiles() function, and found that whenever I select a file in IE, the function is getting called twice (console.log statement logs the same content twice).
This issue is only occur in Internet Explorer, tested it on Chrome & Edge and everything was working fine.
I use IE version 11.472.17134.0
please help !
I fixed it by checking native files count:

Checking uploader.queue length in IE isn't actual (I don't know why)
can you please let me know, how you fixed this issue. I am having the same issue with the ng2FileSelect with IE 11