Figma Support Forum

Component rendering weird in different files

I have a component with several nested button components that have icons nested inside. When I place that component into different design files that are located in the same workspace the component renders completely differently. In one file it renders the icon components as they are but in another, the icons get cleared to the default icon for the nested component.

Anyone have any idea why this might be happening?

Actually, it looks like it’s not just the icon, the whole style of the nested component gets reset because even the fill colour didn’t get carried over.

It also seems like the issue is just for that component because other similar components that have the same button component nested inside don’t have this issue.

Solved: Had to restart everything it looks like only one design file was getting updated from the design system library file for some reason.