Swapped instance not preserved in prototype view

Hi,

I ran into some trouble when creating a design system.
The main component has 2 variants (closed/open). When it’s open, it shows a nested component.

Swapping the instance of this nested component works OK when the prototype starts in “open” state (when the nested component is shown) but displays the original instance when starting in “closed” state.

I made a little video :

How am I supposed to achieve this ?
Best,
Matthieu

ok, it looks like playing with the visibility of the swappable component works better. good to know :wink: