Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: multi file upload with file picker

Marc Seitz2ed2b2a1ae74
diff --git a/components/upload-zone.tsx b/components/upload-zone.tsx
index 01577c1e..27a8ad4a 100644
--- a/components/upload-zone.tsx
+++ b/components/upload-zone.tsx
@@ -350,7 +350,7 @@ export default function UploadZone({
const getFilesFromEvent = useCallback(
async (event: DropEvent) => {
// This callback also run when event.type =`dragenter`. We only need to compute files when the event.type is `drop`.
- if (event.type !== "drop") {
+ if (event.type !== "drop" && event.type !== "change") {
return [];
}