Highlighted

Feature request: Can a single event trigger (click) cause multiple component state changes?

New Here ,
Sep 29, 2020

Copy link to clipboard

Copied

I have created a toggle component and set two states ('active' and 'inactive'). When I click on the toggle it now animates on and off.  Next, I created a text component and set two states ('active' and 'inactive') that transitions the text being displayed based on the selected state. 

 

I'm trying to link the states between the toggle and text so that when I click on the toggle, the text also switches between the active and inactive.  Is this scenario supported?  

 

{Renamed By MOD}

 

TOPICS
Missing feature, Prototyping

Views

61

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Feature request: Can a single event trigger (click) cause multiple component state changes?

New Here ,
Sep 29, 2020

Copy link to clipboard

Copied

I have created a toggle component and set two states ('active' and 'inactive'). When I click on the toggle it now animates on and off.  Next, I created a text component and set two states ('active' and 'inactive') that transitions the text being displayed based on the selected state. 

 

I'm trying to link the states between the toggle and text so that when I click on the toggle, the text also switches between the active and inactive.  Is this scenario supported?  

 

{Renamed By MOD}

 

TOPICS
Missing feature, Prototyping

Views

62

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Sep 29, 2020 0
Contributor ,
Sep 30, 2020

Copy link to clipboard

Copied

You can achieve this using two artboards: one for when the toggle is OFF and another for when the toggle is ON and showing the text. 

 

OR

 

You could add the text inside toggle ON state, but probably would a messy workaround.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 30, 2020 1
Adobe Employee ,
Sep 30, 2020

Copy link to clipboard

Copied

Hi David,

 

Thanks for reaching out. I am afraid, as of now, we don't have an option to change the state of a different component from the same trigger however we have received a similar request on our XD UserVoice page. I'd request you to upvote this feature to add voice to it: https://adobexd.uservoice.com/forums/353007-adobe-xd-feature-requests/suggestions/38959297-allow-com...

 

Let us know if you need anything else, we'll be happy to assist.

 

Regards

Rishabh

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 30, 2020 1
New Here ,
Sep 30, 2020

Copy link to clipboard

Copied

Thank you for the follow-up and link.  I upvoted the feature and would love to help if you do decide to add it to a future version of XD (happy to beta test or provide feedback).  

 

Best,

 

-David

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 30, 2020 1