bpmn-io / bpmn-js-element-templates

The element template extension for bpmn-js
MIT License
5 stars 3 forks source link

`"type": "Text"` Fields do not keep size when editing #105

Open marstamm opened 5 months ago

marstamm commented 5 months ago

Describe the Bug

When I manually expand a Text Area and type, it immeidately resizes to fit the size of the content. This works in both directions (expanding and collapsing)

Recording 2024-06-04 at 10 22 10

Steps to Reproduce

Property to test:

      {
        "label": "text",
        "type": "Text",
        "binding": {
          "type": "zeebe:property",
          "name": "dynamic"
        }
      }
  1. Create a template with the property above
  2. apply it
  3. expand the text area
  4. Start typing
  5. It collapses to 1 line again

Expected Behavior

Same behavior as for "feel: optional" text fields. When I manually change the size, keep it when editing:

Recording 2024-06-04 at 10 25 38

Environment

barmac commented 5 months ago

I can reproduce this. It does not happen to the non-template fields like documentation.

nikku commented 5 months ago

Adding to spring cleaning and backlog as I think this is a minor annoyance, to be fixed, some day, maybe.