Skip to main content

Preserve fill override when a component updates


Tomas_Kvasnicka

I use components from a design system library. I override many things in the components. When a component updates, my overrides are preserved - except fill.

That is a problem, especially when the fill is an image. Every time the component updates, the image is gone (reset to the default image).

It is a real pain and I wish this was changed soon.

3 replies

Kari_Heikkila

Yes, it’s painful indeed - I’m suffering about the same issue. What makes it even worse, it seems that any change in the main component causes the image fill to reset itself. In my case, there’s an image placeholder layer and a sibling text field layer - and if the text field styles are updated in the main component, the instances reset their fill in the placeholder layer even if it’s not touched in the update.


mr.D
  • 4 replies
  • December 21, 2022

Is this still an existing issue?


Andy_Denham

Has anyone found out how to stop this happening? I have this happening with a nested avatar component when I swap the user images, which are saved as fill styles. If I then change the size variant of the avatar, for example, the image reverts back to it’s default.


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