First time posting an issue here š !
So, I have been trying to create my own file upload component with a drag & drop feature, but whenever I try to add an identical file twice in a row, nothing happens.
No errors, no nothing.
My startUpload() function is simply not executed.
To replicate my issue follow these steps :
Add a file (let's call it test1.png) to the array while drag & dropping it or using the button
Repeat the first step and you'll see that no file is added to the array.
You can add an identical file twice in the array, but not in a row. Adding test1.png, then test2.png and again test1.png works.
I know my explanation is kinda messy so here's a link to a Stackblitz project I made to show the issue I'm having :
https://stackblitz.com/edit/angular-dragdropupload
The expected behavior would be that even if a file is identical, I'd be able to add it twice to the array of files.