process-analytics / bpmn-visualization-js

A TypeScript library for visualizing process execution data on BPMN diagrams
https://process-analytics.github.io/bpmn-visualization-js/
Apache License 2.0
215 stars 29 forks source link

[BUG] The Demo drag overlay does not always disapear when exiting the drag zone without dropping #249

Closed tbouffard closed 2 years ago

tbouffard commented 4 years ago

Describe the bug The drag overlay can remains if I decide to finally not drop a file which hides the previous diagram I had loaded.

To Reproduce Steps to reproduce the behaviour using lib version 0.1.2 and 0.1.3:

  1. Drag a file to the drag zone
  2. Don't drop the file
  3. Move the file outside of the window hosting the BPMN Visualization
  4. The drag overlay still displays, hiding the previously loaded diagram

Expected behaviour The drag overlay always disappears.

Screenshots

The following gif shows that the overlay disapears (as in most of the case) and sometimes not

drag_zone_not_disappear

Environment

I haven't tested other browsers so they may also be affected by the issue

Additional context The drag overlay generally disappears. I have not been able to find a pattern to always make it remain, nor find if it remains when exiting from a particular zone of the display window.

tbouffard commented 2 years ago

I haven't been able to reproduce the issue with Ubuntu 20.04 and recent Firefox versions. So closing.