How to hide element in default state and show in other state in XD?
Hi folks.
I'm trying to create a header component in default (logged in) and logged out state.
I managed easily to hide the user avatar in the derived (logged out) state.
But I don't manage to have a log-in link displayed only in the derived state. When I repeat the same as for the avatar (that is 1) selecting default state 2) selecting the element 3) pressing delete), the element is gone in both states.
I also tried changing opacity to 0 in the default state, and setting it to 1 in the derived state, but when I change back to default state, it keeps opacity 1.
Is this a bug for now? It's definitely not what I would expect (at least the opacity issue). Or am I missing something. Is there another way to achieve what I wanna do?
Adding a rectangle that covers that link, which is hidden in the derived state would probably work, but seems like quite a clumsy work-around.
Thanks!
<The Title was renamed by moderator>
