georgipeltekov / ngx-file-drop

Angular 11 file and folder drop library
MIT License
295 stars 100 forks source link

Drop does not work in combination with Windows/MAC and certain browsers #286

Closed rasljic closed 1 year ago

rasljic commented 1 year ago

When dragging the file and dropping it in the drop zone, we can see that the dropzone highlights like it is about the accept the file, but once we drop it - nothing happens. No triggers, no errors in the console or network tabs, and nothing visible is happening.

This is happening only in combination with certain operating systems and browsers. For example:

  1. Works on Linux + Chrome or Firefox or Opera (almost everywhere).
  2. Does NOT work on Windows + Chrome or Edge.
  3. But, works on Windows + Firefox or Opera.
  4. Does NOT work on MAC + Safari. (maybe on some other browsers as well).

The strange thing is that this package was installed and used since the beginning of the year 2020, and there were no issues reported since then, so it probably worked well then. But, at some point, it stopped working (this year probably, 2023).

The version of the package: v8.0.8 Angular version: v8.2.14