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 482 forks source link

Form-JS resizable fields behave weird when resizing on the left #3651

Open marstamm opened 1 year ago

marstamm commented 1 year ago

Describe the bug

When resizing a element using the dragger on the right, the left is moved instead Recording 2023-06-07 at 12 13 20

Steps to reproduce

  1. add a form element
  2. Try to resize it from the left

Expected behavior

The left side moves so I can create "empty space" or there is not resizer on the left.

Environment

Camunda Modeler system information

Additional context

No response

okaeiz commented 5 months ago

Any updates on this?

volodymyr-melnykc commented 5 months ago

@okaeiz This issue remains valid. Currently, all form components are left-aligned, and resizing them still makes them stick to the left side. We're working on a solution to improve this functionality.

Skaiir commented 5 months ago

Adding some context. There's some fundamentally flawed ideas with the resizing and I've got a whole WIP topic to cover improvements to this (here). However it's not going to be worked on soon.

@volodymyr-melnykc A simple fix would be to disable the left resizing icon. Maybe not as pretty but works.