I think the solution to this is looking in my face, but I cannot find it.
So, I am creating a site with a small file upload section. In the download section, an image will be downloaded for different devices and device orientations (for example, iPhone, iPad, portrait and landscape). I can easily understand how to implement drag-and-drop onto the icons of individual devices, but if the user skips the drag-and-drop area, the browser will simply navigate to this image on their system. How to disable drag and drop if there is no file input type to get the dragged file?
source share