Skip to main content
Question

Figma treating master component as a copy of a deleted component - (Showing "Publish as copy" when publishing)

  • December 15, 2022
  • 4 replies
  • 527 views

Matt-IH

I made a component in a file (let’s call it “File A”), and then at some point I think I moved the component (with cut + paste) to my component library file (“File B”).

I have since deleted File A (permanently deleted in trash too), as I was only using it as a working file.

Now, when I’m wanting to publish the master component from File B, I always see “Publish as copy” next to the component, along with a greyed out “Move to this file” option.

The problem:
File A no longer exists and this component is not a “copy” of any component. How can I get rid of this prompt? It makes me nervous, as if there’s some ghost component somewhere that I have no control over, and the “Publish as copy” language is confusing.

Looking for any help. This feels like a bug - is there any fix?

FilipaGo
  • New Member
  • September 27, 2024

I’m having the same issue as @Matt-IH. How can I fix it?


Paula_Kietzer

I am having this exact issue and this thread is 2 years old. Did someone find a solution?


Rusty_Gaechter

I’ve seen several posts here (and other boards) with this question and I’ve never seen an answer. Can Figma please publish more thorough documentation around this feature and how/why this menu option is triggered?


Andyesign

So this is the solution

1.  Go to version history and find the original component

2. Paste in the original component so it has two master component, one of them you want to replace and remove. In my case it’s The “🍣 Schema Right side bar”
DO NOT PUBLISH HERE (merely showing this as an example)

3. Delete the wrong one from your file (the one that says “publish as copy” ) Then when you press publish, it’ll say removed.

4.  Go ahead and publish.

5. Update the component with this newly published library in your other files
All master component has a unique ID, so if the one from your version history is properly connected then it would say update, your component would be restored and connected properly. 



6. IMPORTANT!
However, some of your components might be connected to the wrong/ duplicated master component that has just been removed.
These components would say “Restore” when you select the component. It means they are connected to the removed master component. 


7. You’ll have to reconnect them to the component by replacing it with the correct one from the library by selecting it in the dropdown. 


8. If all the Properties in the components are exactly the same between the updated one and the outdated component. Your components will retain the props and will NOT be reseted. 


Hope this is helpful for anyone that sees this! 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings