Skip to main content
Sophia26687696pobd
Participant
February 16, 2023
Answered

Issue with Toggle Button in Adobe XD

  • February 16, 2023
  • 2 replies
  • 1273 views

I'm making a simple toggle button in adobe xd (v 46.1.12), but it's not working properly it toggles other elements on the page that are unrelated.

 

<Title renamed by moderator>

This topic has been closed for replies.
Correct answer Sophia26687696pobd

If you place one instance of your toggle button in a blank artboard, does it work as expected?


I found out why it wasn't working. It's because the artboard had a drag interaction and that was messing with the other animations and interaction of the artboard.
Thank you for your time

2 replies

HARSHIKA_VERMA
Community Manager
Community Manager
February 16, 2023

Hi @Sophia26687696pobd,

We're sorry to hear that you are experiencing issues with your toggle button in Adobe XD. It sounds like the toggle button may be affecting other elements on the page that are unrelated. In addition to what is suggested by our expert. 

 

Here are some steps you can try to troubleshoot the issue:

  • Check the layer order: Make sure that the toggle button layer is above all other elements that it should not affect. You can do this by selecting the toggle button layer in the Layers panel and then dragging it to the top of the panel.
  • Check the interaction settings: Make sure that the interaction settings for the toggle button are set up correctly. You can do this by selecting the toggle button, clicking on the "Prototype" tab in the right-hand panel, and then selecting the interaction from the list. Make sure that the correct "Target" and "Action" are selected for the toggle button.
  • Check the artboard settings: Make sure that the artboard settings are set up correctly. You can do this by selecting the artboard in the Layers panel and then checking the "Overflow" setting in the right-hand panel. If the setting is set to "Vertical" or "Horizontal," it may be affecting other elements on the page.

If none of these steps resolve the issue, you may want to try recreating the toggle button from scratch. Let us know if you need further assistance.

 

We would be happy to help.

 

Thanks,

Harshika

Sophia26687696pobd
Participant
February 17, 2023

I did those things but it isn't working, could it be because it{s inside another component?
Thank you for taking the time to write all that down

Community Expert
February 17, 2023

If you place one instance of your toggle button in a blank artboard, does it work as expected?

Community Expert
February 16, 2023

Hi Sophia,

first I suggest you update Adobe XD to the latest version. I would also ask you if you can attach a short video of what you want to do, so we can help you better. Thanks

Sophia26687696pobd
Participant
February 17, 2023