camunda / camunda-modeler

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

Variables dropdown when collapsed and clicking on the next element opens up the dropdown again automatically #4729

Open GeethaParthasarathy opened 1 day ago

GeethaParthasarathy commented 1 day ago

Describe the bug

When we have an element with dropdown in the Variables tab when collapsed and clicking on the next element opens up the dropdown of the other elements automatically

Steps to reproduce

  1. Create a BPMN diagram with sub process and User task
  2. Create input/ output variables for the above tasks
  3. Click on the variables tab
  4. We could see a dropdown open under the sub process
  5. Collapse the dropdown
  6. Click on any other element in the variables tab
  7. We could see that the dropdown of the sub process is automatically open again

https://github.com/user-attachments/assets/5695d8d4-5bdd-41e6-9142-d8ac2849ae24

Expected behavior

Dropdown of the elements should not be auto-focussed on clicking other elements in the variables tab

Environment

Additional context

No response

barmac commented 1 day ago

Thanks for the report. I can reproduce it both in 5.30.0-rc.1 and 5.29.0.