Skip to main content
Participant
July 17, 2020
Question

Locally linked components lose states after update

  • July 17, 2020
  • 1 reply
  • 173 views

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.

 

    This topic has been closed for replies.

    1 reply

    HARSHIKA_VERMA
    Community Manager
    Community Manager
    July 17, 2020

    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