Studio-42 / elFinder

📁 Open-source file manager for web, written in JavaScript using jQuery and jQuery UI
https://studio-42.github.io/elFinder/
Other
4.6k stars 1.41k forks source link

Drag and drop upload not working #3595

Closed DrezynSoft closed 6 months ago

DrezynSoft commented 10 months ago

Describe the bug It is not possible to upload files by drag & drop function in any folder clicking option ,,Send files'' obraz

To Reproduce Steps to reproduce the behavior:

  1. Go to any folder of the userfiles directory.
  2. Click on Send files.
  3. Drag and drop any kind of file on the displayed rectangle for dropping.
  4. See error like this (in web console): obraz More info obraz

Expected behavior Files should be sent without errors and display in given folder.

Desktop (please complete the following information):

Additional context I will be happy if it will be resolved. Thanks! Worth notice that simple upload by click on button works perfect.

phstbw commented 10 months ago

After upgrade to 2.1.62, I notice similar issue with drag/drop. When uploading a file through "select file", it works.

Console when using the uncompressed .js-file:

Uncaught TypeError: trf.items[idx] is undefined dropUpload https://mysite.ch/wp-content/plugins/elfinder/js/elfinder.full.js?ver=6.3.1:35702

grafik

Any thoughts? Thank you!

github-actions[bot] commented 8 months ago

This issue is stale because it has been open for 50 days with no activity.

smartredsolutions commented 8 months ago

same here - I restored dropUpload from Version 2.1.31 and it works fine - the problem only occurs on FF

ylp-ineris commented 8 months ago

Same problem here too. And this only seems to happen in Firefox.

nao-pon commented 6 months ago

I tried it on Firefox 122.0b1 and there are no problems. Could you try the elFinder demo site and see if you get a similar error?

nao-pon commented 6 months ago

Ah, this is a similar issue to #3575. It has been fixed and will be resolved in the next version.