OctoPrint/OctoPrint

[1.10.0] Drag'n'drop upload is broken in Safari

Closed this issue · 2 comments

The problem

Drag'n'drop file upload doesn't work on Safari because it apparently refuses to populate dataTransfer.items on the drag event, thus making it run into one solution for #4843 and thus not triggering the drag'n'drop overlay.

The solution

Always assume we have files present (even if someone just accidentally dragged a piece of highlighted text) when Safari is detected. If this annoys you, blame Apple.

Fixed and ready for 1.10.1

This issue has been mentioned on OctoPrint Community Forum. There might be relevant details there:

https://community.octoprint.org/t/drag-and-drop-no-longer-working-after-update/58274/3