I'm trying to create a toggle button that changes changes between 2 states. I used the tap event in both states to go change to the other state. First time I tap the button, it changes state correctly. After that, reverting to the other state just doesnt work because it changes state but quickly goes back to the state before the tap. Why is this happening? Looks like the event fires twice. When using 2 artboards for this purpose the issue doesnt happen.
<The Title was renamed by moderator>
Thank you for reaching out. It would be really helpful if you can share a video or screenshot showing the issues for better understanding so that we can try to replicate and investigate at our end. Please also share the OS and XD versions of your machine.
We will try our best to help.
Hello! Thank you for replying. My machine is a 2018 macbook pro 15" with macOS Catalina 10.15.4 and i am using XD 220.127.116.11. The issue I have encountered appears to be happening only when I have another link with a drag event with the toggle element inside. I attached a screen recording demonstrating turning off the drag link and trying the toggle element in both scenarios.
We would like to follow up on your issue. Are you able to resolve the issue? You may try updating XD to 38.1 version and see if that helps.
Please feel free to update the discussion if you need further assistance from us.
We would be happy to help.