Skip to main content

Hello!
I am writing to report that I have found a bug in which the used text styles are reset after binding the text property inside the component.
I will describe the step-by-step initiation of the bug, using a new component as an example.

I created a new file with a component containing only text - "Link".
The component variants differ in the font colors used and the underline color.
For each component variant, the text underline colors are configured.
The text underline is pre-configured using a separate style from the design system library.

The result is a component with 4 variants.
As shown in the screenshot, each underline for the variant is different.
 

Example of custom underline style 

After that, I create text property to use a single text when switching component variants.
 

Creating text property

I apply the property to the text in the component

select the new text property for each texts in component

Success

 

But after changing the border of one component variant, a single style from the changed variant will be applied to each of the variants.

bug

The problem gains more weight if the component has a larger number of properties: sizes, states, display types.
Where each component variant is unique.

The problem was noticed after the latest application updates.
Previously, there were no such problems when creating and editing a component.
Thank you in advance for your answer and I am ready to provide additional material to study the problem.

Is it possible to solve the problem on your side?

Be the first to reply!

Reply