uppy icon indicating copy to clipboard operation
uppy copied to clipboard

Dashboard briefly flashes `isDraggingOver` off while dragging over drop zone.

Open WesleyKapow opened this issue 1 year ago • 3 comments

Initial checklist

  • [X] I understand this is a bug report and questions should be posted in the Community Forum
  • [X] I searched issues and couldn’t find anything (or linked relevant results below)

Link to runnable example

https://uppy.io/examples/

Steps to reproduce

Drag image over dropzone but do not release. Slowly (while dragging) hover over dashed line or "drop files here" / images.

Expected behavior

When dragging over dropzone uppy should not flash between hover state and non hover state.

Actual behavior

Uppy flashes and briefly toggles the uppy-Dashboard--isDraggingOver class on the dashboard div.

https://github.com/user-attachments/assets/c55c564f-6cc2-4873-b895-6e72d8f73a41

WesleyKapow avatar Aug 05 '24 20:08 WesleyKapow

Are you on the latest release, which has the anti-flickering fix: https://github.com/transloadit/uppy/pull/5326?

Murderlon avatar Aug 06 '24 08:08 Murderlon

@Murderlon yes on latest, and this happens for me on uppy's own example site as linked in the issue.

Also just tested browsers:

  • Chrome (latest v 127.0.6533.89) has the bug.
  • Safari mostly doesn't have the bug (if I move the dragged image around for a while I can get a single flash.. so not really a problem)
  • Firefox, no bug (couldn't get a single flash)

WesleyKapow avatar Aug 06 '24 13:08 WesleyKapow

+1, happens to me on Chrome 137.0.7151.55 (Ubuntu), on the uppy example site.

cambraca avatar Jun 10 '25 23:06 cambraca