Custom attributes on slot dissapear when unlinking component

Say I have a normal webflow component with a slot, like this (pseudo code representing webflow elements):

<component-root>
  <slot my-attribute=”test”></slot>
</component-root>

As soon as I unlink the component instance, all the custom attributes on the slot element get deleted.

Anybody else experiencing this?