Forum Discussion

LaurenAckley-6d's avatar
LaurenAckley-6d
Community Member
3 years ago

Hover states, previous states not restoring after opening lightbox

I'm working on an interaction that's not working as intended. The idea is to highlight different paths when users hover over a button and then open a lightbox when the users click on the button to explore that path in more detail. However, when the lightbox is closed the paths are still highlighted and have not been restored to their previous state, despite that option being checked.

I can get it to restore when using a layer, but I was hoping to use a lightbox instead so users would be blocked from clicking the previous and next buttons.

There's a stripped down version of the interaction attached. Button 1 is set up with the lightbox and button 2 is set up with a layer. 

I hope I explained that well... Thank you!

https://360.articulate.com/review/content/51044cf7-4d8b-4545-bb76-7ac4135ffdf1/review

  • The on hover trigger can be flakey, in this case the Lightbox trigger is then locking the slide and preventing the mouse out from occurring. I think it may be easier to show a layer with the Highlight effect on hover and then have a on click hide layer trigger before the on click show Lightbox.

    Or add on trigger trigger before the Lightbox to return them to normal