Skip to main content
Participant
Jan 14, 2021 5:59 PM UTC
Answered

Status of the component

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 is closed to new replies. Start a new post to keep the conversation going.
monterxz
monterxzCorrect answer
Inspiring
Jan 15, 2021 11:07 AM UTC

4 replies

monterxz
monterxzCorrect answer
Inspiring
Jan 15, 2021 11:07 AM UTC
Darya5E1EAuthor
Participant
Jan 15, 2021 11:39 AM UTC

thanks a lot!

Translate
Community Manager
Jan 15, 2021 7:58 AM UTC

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

Translate
Darya5E1EAuthor
Participant
Jan 15, 2021 9:24 AM UTC

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

Translate