Text layer resets its content when switching between instanced component variables.

Video of the issue: Screen capture - 4218e043432ea4a6d9a4a17b292d6c75 - Gyazo

I have your typical button component with 2 different button types. When I simply use the component instance on its own, I can change between its variants and text keeps its changes, as you can see in the video at the start.

However, when I instance the button in another component, and change the button’s text in an instance of that component, the text resets if I change the button’s variant in the component.

The text layers in both variants are identical. Same structure, same name, same text. I even tried tying them both to the same text property with no luck.

Anyone knows what’s going on? Afaik the layers are supposed to maintain their changes between variants if they are identical.

File with the issue: https://www.figma.com/design/5NLezrqSm0PLlFtw2DIBOM/Untitled?node-id=0-1&t=QNLILuvQvygxgQju-1

HI there,

Thanks for reaching out about this. We understand your frustration and regret any inconvenience it may have caused. The behavior you are seeing is a known limitation that the engineers have in the backlog for future attention. I’ve gone ahead and added your encounter with this issue to our ongoing report.

I want to be transparent with you that the issue you’ve reported might not have an immediate resolution. Due to its complexity, it could take some time before we can address it.

While I can’t promise a quick fix, please know that our engineering team is aware of the issue and will work towards finding a solution in the future. We appreciate your understanding and patience in this matter.

If you have any further questions or concerns, please feel free to reach out.

Thanks,
Toku

Hi, thanks for the info! Can you elaborate what exactly is the limitation, and what does it apply to, so I can try and avoid it? Is it texts, colors, or something else?