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