SOLVED: Component Slots: Wrapping/Unwrapping Elements creates orphaned elements

When using component slots and wrapping elements (e.g. as block), in most cases the element disappears. And when reloading the editor, the “orphaned elements” message appears. In some rare cases the block was created, but always as last item of the slot.
Unwrapping the elements also make them disappear but this time, saving and reloading the editor, no “orphaned elements” message appears.

Steps to reproduce:

  1. Create component with slot
  2. Edit the instance by adding elements to the slot
  3. Try to wrap elements within the slot
  4. Notice they are disappeared
  5. Save and refresh Editor
  6. Get message “orphaned elements”

To unwrap elements, manually add a block to the slot and drag an element into it.

Hi @davidfrx,

Thank you for testing and bringing this to our attention. I have added this to our bug tracker.

We fixed this issue in Bricks 2.2 RC, now available as a manual download in your account (see changelog).

Please let us know if you are still experiencing issues.

As with any pre-stable release, please do not use it on a production website. It is intended for testing in a local or staging environment only.

Hi @timmse

It looks like the wrapping of elements while being placed in a slot still makes them disappear and ultimately orphaned when refreshed (2.2rc).

Unwrapping elements works fine, now. Thank you for fixing it.

1 Like

Hi @davidfrx, thanks for the heads up! this should be fixed in our upcoming release