Variants and auto-width text behaviour

Hi everyone,

I’d like to ask if the current behaviour of variants with text components set to auto-width is the expected one, a bug, or if I might be doing something wrong.

I’ll attach a short video showing how to reproduce the issue.

The problem: I created a component styled as a button, making sure the text is set to auto-width. Then I created a variant of this component with a different text size.

When generating instances of the component, if I change the text length and then switch to the variant with the different font size, the text in the instance keeps the previous width and changes from auto-width to fixed.

Xavier S

I can’t see that you’re doing anything wrong. Looks like a bug to me!

1 Like

Yes, definitely a bug. You can track it here. Thanks for noticing!

2 Likes

Thank You, let me know if you need some test.