Skip to content

Drag and Drop file upload not functioning on Chrome based browsers #3494

@spinanicky

Description

@spinanicky

NOTE

Drag and Drop file upload not functioning on Chrome based browsers but works fine on Firefox browsers. Has been tested both on local deployment as well as the play.min.io public server

Expected Behavior

The file should upload without difficulty when dragging and dropping a file/folder into a bucket in the console.

Current Behavior

I have noticed that the path visible in the Downloads/Uploads modal that appears is different in firefox vs chome. In firefox when you drag a file into the minio console in a bucket, the file will successfully upload and have an appropriate path assigned to it. In Chrome based browsers it appears to assign a /./ prior to the path and the . is throwing off the upload.
Screenshot 2025-01-15 183344

Possible Solution

If you click upload and upload a file manually using the OS console the upload will succeed. This is not a solution for drag and drop though.

Steps to Reproduce (for bugs)

  1. Login to play.min.io using a chromium based browser
  2. Create a public bucket
  3. Upload a file by dragging and dropping (error)
  4. Upload a file by clicking the upload button (success)

Your Environment

Same as play.min.io

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions