Forum Discussion

ChristinaAppleb's avatar
ChristinaAppleb
Community Member
3 years ago

Object states not changing as expected

I have a slide with rectangles that act as buttons. Each rectangle/button has three states: normal, hover, and visited. Each rectangle takes you to a different slide when clicked. After visiting that slide, it takes you back to the original slide. However, when it takes you back to the original slide, the rectangle state is "hover" instead of "visited." As soon as the mouse hovers over the rectangle, it changes to "visited." Is this a bug? Is there a workaround? Or am I missing something?

  • I created my own test shape on the slide and it works. I checked in your objects and I think the culprit is that the states were copied and pasted when the original object had a trigger on it.

    You try to fix it quickly:

    • go into the state
    • select the object
    • Ctrl X
    • Ctrl V

    That should copy and paste without the trigger and may fix it. Otherwise you need to rebuild those state objects without triggers.

    See the recording.

     

    • ChristinaAppleb's avatar
      ChristinaAppleb
      Community Member

      Thank you so much Tom! I honestly can't remember if I copy and pasted those rectangles or not. I did create them all individually, but when I was troubleshooting a different issue, I might have copied and pasted them. I really appreciate your help!

    • ChristinaAppleb's avatar
      ChristinaAppleb
      Community Member

      I did the cut and paste to remove the triggers, and like you said in your video, the hover state still shows up under the visited state until you hover over the object again. 

      After the cut and paste, I couldn't change the format of the states anymore. Is that because of the cut and paste?

  • I think SL created those triggers. I have support looking at this. 

    The formatting does change because of the copy and paste because they're treated as different objects.

  • Chatted with support and it looks like when there's text in the hover state it impacts the interaction. You can fix that by adding a down state as in the image. This would release the hover state when clicked.