bpmn-io/bpmn-js

Label double moves on batch movement

Open

#1.766 aberto em 10 de nov. de 2022

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)JavaScript (1.249 forks)batch import
backlogbuggood first issuemodelingspring cleaning

Métricas do repositório

Stars
 (7.739 stars)
Métricas de merge de PR
 (Mesclagem média 17h 6m) (4 fundiu PRs em 30d)

Description

Describe the Bug

If I move a label along with another element that connects to the label target the label moves twice, causing quirky behavior:

capture LMEmCl_optimized

Steps to Reproduce

  1. Open label-double-move.bpmn.txt on https://demo.bpmn.io/
  2. Select ASD label + choose reciepe task
  3. Move both
  4. See label move twice

Expected Behavior

Two options:

  • Move label with connection
  • Move label with task

Not sure which one is better. Do not move twice.

Environment

  • Browser: Any
  • OS: Any
  • Library version: 8.x, 9.x, 10.x (tested)

Guia do colaborador