[Component states] New state doesn't inherit property from original state

Contributor ,
Sep 03, 2020

Copy link to clipboard

Copied

I have a component with some elements and states. Creating a new state from a previous one isn't inheriting property of some elements.

 

Explaining the GIF situation: I have a local component and couple linked components inside it (icons). In the "3/4" state I colored the icons green. When I create a new state from state "3/4", some of the linked components turn back to their original color, but one of them is still green.

 

adobe bugxd.gif

 

Windows 10

Adobe XD 32.1.22.3

TOPICS
Design

Views

55

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

1 Correct Answer

Adobe Community Professional , Sep 03, 2020
Spas K. Adobe Community Professional , Sep 03, 2020
Can you upload the file somewhere and link it here? When you make a new state, it seems to only preserve the override from the last state, and resets the rest of the elements to the master, but some experimentation will be needed to pinpoint the issue.   I assume the reason is that the checks are other components, and nested components don't normally play nice with each other 

Likes

Translate

Translate
Jump to answer Jump to answer
Adobe Community Professional ,
Sep 03, 2020

Copy link to clipboard

Copied

Can you upload the file somewhere and link it here?

When you make a new state, it seems to only preserve the override from the last state, and resets the rest of the elements to the master, but some experimentation will be needed to pinpoint the issue.

 

I assume the reason is that the checks are other components, and nested components don't normally play nice with each other 🙂

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Sep 03, 2020

Copy link to clipboard

Copied

IMHO new component inherit master components properties.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more