sarink / react-file-drop

React component for Gmail or Facebook -like drag and drop file uploader

Home Page:https://www.sarink.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to get the list of file objects when folders are dropped

c-yalamareddy opened this issue · comments

I get the list of file objects when they are dropped. when a folder (contains multiple) is dropped, I get only one single file object(which is the folder) from the onDrop event . Is there any way to get the list of file objects from the event?.

I solved this problem by using e.dataTransfer.items. Hence, closing the issue. Thank you.