themesberg / themesberg/flowbite

Dropzone drag and drop doesn't work on macOS

Open
#1,018 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
9.4k
Forks
862
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
The drag and drop example in the official documentation does not work with macOS systems. Can't seem to make it work in my codebase either. Clicking to upload does work, drag and drop examples on other sites work fine for me.

To Reproduce

  1. Use a device running macOS
  2. Open Google Chrome
  3. Navigate to https://flowbite.com/docs/forms/file-input/#dropzone
  4. Try drag and dropping in the example

Expected behavior
For the dropzone to recognise that I dropped a file and for it to process that file.

Screenshots

Screenshot 2025-01-13 at 13 33 09

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Chrome
  • Version: Version 131.0.6778.205 (Official Build) (x86_64)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the drag-and-drop example at flowbite.com/docs/forms/file-input/#dropzone and reproduce the failure in Chrome on macOS. Trace the example's drop handling and verify that a dropped file is recognized and processed while click-to-upload continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, javascript, tailwindcss
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.