Skip to content

Can't upload files by drag-and-drop #485

Open
@JuanM04

Description

@JuanM04

Description

Since quite a few months I'm not able to drag and drop files into a Typst project. It happened to me in both Chrome and Arc on Windows 11. Today, I checked what was causing the bug and I've noticed this:

image

After uploading four files, this array (hidden under some minified code) has five elements, the first being null. This causes an exception when checking if(o.isDirectory). At this point, I've manually removed the first element and resumed the code and it uploaded the four files perfectly. I don't have more context about where does that null comes from.

Reproduction URL

No response

Browsers

Chrome

OS

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working.filesRelated to file management.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions