bpmn-io / diagram-js

A toolbox for displaying and modifying diagrams on the web.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Preview support attaches to already placed element

hkupitz opened this issue · comments

Describe the Bug

When placing an element from the context menu exactly the moment the preview is drawn, it attaches to the newly placed element and remains as an artifact even after removing the element again.

preview_bug

Steps to Reproduce

  1. Click on the element in the context menu exactly the moment the preview would be drawn. Timing is very precise.

Expected Behavior

When placing the element no preview should be attached to it.

Environment

  • Browser: Edge - Version 119.0.2151.44 (Offizielles Build) (64-Bit)
  • Application: SaaS Web Modeler (2023/11/07)

@philippfromme Please verify if this is a fixed or new bug.

I just tried it out with diagram-js@12.7.3. Seems to be fixed.

This is fixed.