For a prototype I have a component with 3 variants (each variant is a tab content). These are driven by a variable, whenever I click a tab button it sets the variable to a different value and the correspondent tab content is displayed.
My problem is: I have a button inside the tab content 3 and I want to tap that button to navigate to another page / frame.
How do I display the correct variant when editing the instance? My current approach is to disconnect the property from the variable, then switch the visible variant to 3 and add the link in the button, then reconnect the property to the variable again. The button is not working when I test the prototype.
Or is there another way to add a link to this button? it’s not visible in the default state (tab 1 displayed).