transloadit / uppy

The next open source file uploader for web browsers :dog:
https://uppy.io
MIT License
29.09k stars 2k forks source link

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

Open WesleyKapow opened 2 months ago

WesleyKapow commented 2 months ago

Initial checklist

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

Murderlon commented 2 months ago

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

WesleyKapow commented 2 months ago

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

Also just tested browsers: