Skip to content

fix: keep drop zone visible after file is added (#493)#503

Open
harz05 wants to merge 1 commit intoarchi-physics:mainfrom
harz05:fix/upload-dropzone-blank
Open

fix: keep drop zone visible after file is added (#493)#503
harz05 wants to merge 1 commit intoarchi-physics:mainfrom
harz05:fix/upload-dropzone-blank

Conversation

@harz05
Copy link
Copy Markdown

@harz05 harz05 commented Mar 5, 2026

Fixes #493

Problem

When a file is added to the upload queue on /upload, the drop zone
(upload icon + "Drop files here or click to browse" text) disappears and
renders as a blank white area. It does not come back even after the file
is fully processed.

Fix:
Screenshot from 2026-03-06 02-01-40

Root Cause

Dropzone.js adds the class dz-started to the form element as soon as
the first file is added. Its built-in stylesheet then hides .dz-message
via:

.dropzone.dz-started .dz-message { display: none; }  

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UI Bug: File Upload Drop Zone Goes Blank After Document Upload

1 participant