I’m currently having trouble using slot components, honestly don’t know if it’s a bug or if I’m doing anything wrong.
I followed these steps:
Create slot component and insert it in another component (ex. card), making sure slot height is set “hug content” and width is set “fill container”, and insert an instance swap property to the slot.
Publish component and use it in another file. Swapped slot to button: button has “hug content” in height and width as well, I set it to “fill container” to the width
I make an edit to the main component (ie. change text color) and publish
When i go the other file and hit update this is the result, button takes slot height and goes back to hug for width
Why is this happening? Thanks for your help