form-js
form-js copied to clipboard
Dragging row into a group makes group disappear in the form editor
Describe the Bug
When dragging a form row into a group in the form editor for the first time the group disappear in the definition view (it's still visible in the preview).
This bug doesn't occur if you drag as a single element into the group and them drag the row out and then back again in the group.
Steps to Reproduce
- Drag an element in the form definition
- Drag a group in the form definition
- Drag the first element entire row into the group
- The group disappears
Expected Behavior
The group should remain visible with the row inside
Additional info
https://github.com/bpmn-io/form-js/assets/1022916/68724538-fe12-428d-bcee-39be6292ee47