camunda / camunda-modeler

An integrated modeling solution for BPMN, DMN and Forms based on bpmn.io.
https://camunda.com/products/modeler
MIT License
1.5k stars 481 forks source link

While decision overview is closed entering any value to the table/expression shifts the DMN diagram #4549

Open GeethaParthasarathy opened 1 month ago

GeethaParthasarathy commented 1 month ago

Describe the bug

When the decision overview is closed and we try to enter any values to the decision table /literal expression , upon opening the overview we could see that the DMN diagram is shifted

Steps to reproduce

  1. Create a DMN diagram
  2. Open the decision view
  3. Close the overview
  4. Fill any inputs to the decision table/literal expression
  5. Open the overview
  6. We could see that the DMN diagram is shifted in the overview

https://github.com/user-attachments/assets/0b2940ae-be2f-49d0-bd60-9697eff3150d

Expected behavior

Entering values to the decision table/expression should not shift the DMN diagram's position in the overview

Environment

Additional context

No response

barmac commented 1 month ago

I can reproduce it. I think moving would be OK if it caused the selected element to be centered. In the current state, it is a bug.

barmac commented 1 month ago

This is not a regression since I can already reproduce it in 5.27.0. I will move the issue to the backlog.

https://github.com/user-attachments/assets/bfa9d71f-a34c-47a3-9d93-06b7a5495771

BTW the position is correct when you reopen the overview.