nervgh / angular-file-upload

[ALMOST NOT MAINTAINED] Angular File Upload is a module for the AngularJS framework
MIT License
3.44k stars 1.13k forks source link

onAfterAddingFile callback not firing without code change #872

Closed cloopadoop closed 3 years ago

cloopadoop commented 3 years ago

I know this isn't super maintained anymore, but thought it couldn't hurt to ask.

This was working just fine on a deployed site, but suddenly, the drag 'n' drop stopped working. Doesn't seem like the onAfterAddingFile is firing anymore, even when using the bare file upload. Can't even get it to console.log() anything. The only thing I can guess is that some browser API changed, except it seems to be across browsers... Any clues?

cloopadoop commented 3 years ago

Never mind--it must have been a change in the way browsers handle file types. I was filtering for MP3s, which are now showing as audio/mpeg files!