Skip to main content
Participant
January 20, 2023
Question

Struggling with button change.

  • January 20, 2023
  • 1 reply
  • 257 views

Hi all, Ive been struggling figuring out how to make my buttons work correctly. For example clicking on first button sould change to black when selected but then when you click on the second button to select it, the first button should go back to default color vice a versa. But now you have to double click to deselect the one button. 

 

Example

https://xd.adobe.com/view/f4966677-3557-43ef-9f39-6bb5528549e4-a1c5/

    This topic has been closed for replies.

    1 reply

    AkinGn
    Community Expert
    Community Expert
    January 20, 2023

    Hi @Catherine280263528321, only way to do that is making the whole tabs & content a component, to give you an idea, I made a tutorial while ago: https://www.youtube.com/watch?v=MWr4xgvQx18 Hope this helps!