Skip to content

Why does my upload UI say there are no files while a user is dragging their video over it?

Read local file data when the supported drop event gives access. Browser drag stores can keep `DataTransfer.files` empty during other drag events. A hover state should show the drop target without concluding that the user is providing no files.

SHIP A RELIABLE INTEGRATIONAISwapLab team · Editorial methodPublished 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval

Validate at the appropriate stage

Record visual readiness during hover. At actual drop, read the file list and apply the same type and size checks used by the file picker.

Verify no paid action is coupled to drop

Show the source selection and let the user review the target and quote after ingestion.

Example

A valid local MP4 is visible to the handler on drop, while the hover handler reports zero readable files.

Pass condition

Picker and drop reach the same review flow with accurate errors based on the files actually supplied.

Sources

One task. A recoverable workflow.

Check the contract, approve the quote and retain the job.

Open API documentation