Drag and drop vs browse
See original GitHub issueDrag and dropping a file behaves differently when using the browse feature. I am using the dashboard
with XHRUpload
to upload files/folder.
When I use the browse
link to upload a file, say, hello.txt
the relativePath
shows null
but when I drag and drop the same file on it the relative path is /hellow.txt
, which is guess is wrong, it should still be null
knowing that it’s not a folder but a single file.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Drag & Drop or Browse - File upload Feature using HTML ...
Drag and Drop file upload means you can upload the file by drag & drop. Drag and Drop interfaces permit web applications to...
Read more >Drag & Drop or Browse - File Upload Tutorial using HTML ...
Most of the websites on internet, In order to upload file over the internet we used to use the browse feature previously. But...
Read more >Drag & Drop or Browse - File Upload using HTML CSS and ...
Drag and drop file upload refers to the ability to drag and drop a file into place. Web applications may drag and drop...
Read more >File drag and drop - Web APIs | MDN
HTML Drag and Drop interfaces enable web applications to drag and drop files on a web page. This document describes how an application...
Read more >Drag & Drop or Browse - File upload Feature in JavaScript
To create this program [Drag & Drop or Browse – File upload Feature]. First, you need to create three files, HTML File, CSS...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, but from my last research on selecting folders, if you allow folders in “select file” dialog (via file input), you can only select folders then — no files. So we’d need to add a separate icon to the Dashboard, “select folder”, and there’s not much we can do for
DragDrop
plugin. More thoughts on this appreciated 👍Clarification: we will make nonfoldered files’
.relativePath
s alwaysnull
, whether they were dropped along with some folder, or not.