bpmn-io/bpmn-js

A bug occurs when deleting a box :A DOM element reference is required, But there is no problem using shift to select

Open

#2.221 geöffnet am 19. Aug. 2024

Auf GitHub ansehen
 (11 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (1.249 Forks)batch import
backlogbuggood first issuespring cleaning

Repository-Metriken

Stars
 (7.739 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 17h 6m) (4 gemergte PRs in 30 T)

Beschreibung

Describe the Bug

I don't know if this is a feature: shift+left mouse button to select the element dragged into the canvas, and then use the shortcut key del to delete, a bug will appear: console.ts:40 unhandled error in event listener Error: A DOM element reference is required, But there is no problem using shift to select

Steps to Reproduce

Shift+left mouse button selects the elements dragged into the canvas, and then uses the shortcut key del to delete shift+left mouse button to select the elements dragged into the canvas, and then uses the shortcut key del to delete

The following cases occurred in:https://demo.bpmn.io/s/start

https://github.com/user-attachments/assets/3b263e7e-f539-4618-9e6a-990f23684291

Expected Behavior

Delete the node selected by the box

Environment

  • Browser: [Chrome 127.0.6533.120]
  • OS: [e.g. Windows 11]

Contributor Guide