4 ms·
Just curious: what do you get from the DnD API that you don't get from an [input type="file"]? Is it just the flexibility in design? I know a few (non-technica
by dave1010uk 15y ago
Just curious: what do you get from the DnD API that you don't get from an [input type="file"]? Is it just the flexibility in design?
I know a few (non-technical) people who are happy using a "choose file" dialog but would really struggle performing a drag and drop: opening Explorer, navigating to a folder, resizing Explorer and the browser so they're both visible on the screen (even fewer people know you can drag files to the task bar to activate another window) and then dragging files to the drop target.