Highlighted

Locally linked components lose states after update

New Here ,
Jul 17, 2020

Copy link to clipboard

Copied

I have two local files:

(1) Design system file

(2) New blank file

 

In the design system file, I have a bunch of icons that I've turned into components so that I could have different states rather than duplicating the icons (e.g. default is blue, hover is darker blue, alternate state is white, etc.)

 

When I initially copy and paste the icon from the design system (1) to the blank file (2), the component comes over nicely with all of the states. However, as soon as I update the master component in the design system file and then accept the updates in the new file, it updates the default state of the linked component but removes all the other states.

 

Views

30

Likes

Translate

Translate

Report

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

Locally linked components lose states after update

New Here ,
Jul 17, 2020

Copy link to clipboard

Copied

I have two local files:

(1) Design system file

(2) New blank file

 

In the design system file, I have a bunch of icons that I've turned into components so that I could have different states rather than duplicating the icons (e.g. default is blue, hover is darker blue, alternate state is white, etc.)

 

When I initially copy and paste the icon from the design system (1) to the blank file (2), the component comes over nicely with all of the states. However, as soon as I update the master component in the design system file and then accept the updates in the new file, it updates the default state of the linked component but removes all the other states.

 

Views

31

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 17, 2020 0
Adobe Employee ,
Jul 17, 2020

Copy link to clipboard

Copied

Hi there,

 

Thank you for reaching out. I am unable to reproduce the same at my end on windows machine and the states remain after accepting the updates. Would you mind sharing a short video of your workflow for a better understanding? Are both the files saved locally? Please share the OS and XD version of your machine.

 

I will try my best to help.

 

Thanks,

Harshika

Likes

Translate

Translate

Report

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