saas-js / saas-ui

The React component library for startups, built with Chakra UI.
https://saas-ui.dev
MIT License
1.32k stars 128 forks source link

Feature Request: Folder uploads on FileUpload component. #199

Closed jleuth closed 8 months ago

jleuth commented 8 months ago

I'd like i have this feature for my cloud storage product. It's kinda annoying not being able to upload a folder. It will also be helpful to my customers.

linear[bot] commented 8 months ago

SUI-391 Feature Request: Folder uploads on FileUpload component.

Pagebakers commented 8 months ago

This isn't fully supported in all browsers. At the moment not a priority to add such a feature, but you can experiment with these APIs to build the functionality: https://developer.mozilla.org/en-US/docs/Web/API/DataTransferItem/webkitGetAsEntry