Child component state shouldn't persist across various parent component states when changed in those states
I have Parent Component which has state A (default), B, and C, then inside it I have Child Component with states A (default), B, and C. In state A of the master Parent Component I set Child Components state to A. In state B of Parent Component I set Child Component's state to B. In state C of Parent Component I set Child Component's state to C.
Now I create a new Instance of Parent Component. It defaults to state A with Child Component inside in the default state of A, but if I change my Parent Component instance to state B, Child Component remains in state A. My expectation would be that it also changes to state B because this is what I defined in my master component.
Let me know if this needs clarification. Thanks.
Hi All -
This issue has been addressed with the nested components improvements we have introduced in XD34.
Please validate whether it’s working as you expected.
Thanks,
Sherif
-
Anonymous commented
This would save a lot of time and hugely improve workflow. A lot of work is still needed on states and nested components before we can effectively design micro-interactions across design systems and more complex prototypes.