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

DMN table: adding a new row via `ENTER` from `Annotation` column does not adjust focus #2355

Open MaxTru opened 3 years ago

MaxTru commented 3 years ago

Describe the Bug

DMN table: adding a new row via ENTER from Annotation column does not adjust focus.

When pressing ENTER in a DMN table a new row is inserted. When the cursor is in a regular column, the focus/cursor is put into the new row. However, when being in the annotation column, the focus is kept. This feels / behaves inconsistent.

Steps to Reproduce

  1. Create new DRD
  2. Create new Decision Table
  3. Move cursor to annotation column
  4. Press enter
  5. => New row is inserted, but focus is not changed dmnRowFocus

Expected Behavior

Focus should be set to the new row, just as with non-annotation columns

Environment

barmac commented 3 years ago

Related to https://github.com/bpmn-io/dmn-js/issues/603