Skip to main content
Participant
January 14, 2021
Answered

Status of the component

  • January 14, 2021
  • 2 replies
  • 852 views

The state working not perfectly. I made two states of the component, clone the component, and change the new one. So when I change the state the component looks like the main component, not like the old one. And it no helping much actually. Do I something wrong or it is works now so. If yes, better to improve this moment

 

This topic has been closed for replies.

2 replies

monterxz
monterxzCorrect answer
Inspiring
January 15, 2021
Darya5E1EAuthor
Participant
January 15, 2021

thanks a lot!

Community Manager
January 15, 2021

Hi there,

Thank you for reporting. 

When you clone the component it becomes instance and when you made changes on instance state (eg. new fill color) ,it is overridden state.

Which means if you add new fill color in main component state, it won't gonna reflect in overridden state. But if you change the border width of main component ,it will surely reflect to overridden state.

I hope it would be helpful. Please revert back if it is not clear.

Thank you,

Anita Subedi

Darya5E1EAuthor
Participant
January 15, 2021

Hi Anita, 

thank you for the answer. 

I understand the logic of why it happened so, it was more like a proposal to improve the functionality. Because it is a quite common situation when the components are the same but the text or icons inside should be different and especially when I change the state of the cloned component. 

Thank you, 

Darya