Streaming live at 10am (PST)

Background interaction glitch


So I’ve built an interaction whereby a rollover changes the background image depending on the link rolled over.

Moving the mouse between some elements is smooth and between others its as if the transition has bugged out and the transition is not smooth and I have no idea why - each transition is identical but obviously, the targets are different.

Can anyone offer a solution? Theres a video to show the issue.

Thanks in advance


Here is my public share link:
(how to access public share link)

Hi Daniel,

First of all I gotta say I love the design! We had a similar issue with our buttons that were supposed to change background image on rollover. In our case it was due to the second or third image that was supposed to show up not loading in time so the interaction looked glitchy.

Way we fixed it was by layering the button (background in your case) with all the possible images its supposed to switch to, then turning their opacity up/down as the rollover happens in each case. That way every possible image is loaded first, then faded in and out on rollover instead of having to be loaded on each interaction.

We achieved that via the “states” function of the designer, in your case I think you need more than 2 states so I suppose you can make multiple background blocks, each with its own image, lay them on top of each other and then fade them in and out with opacity, end result is the same as above.

Might help you out in this case as well.

Hi @S_Nili,

Thanks for the compliment - glad you like it.

Thanks for a possible fix. I’ll look into it - but I think you’re right regarding the fact that the images are taking too long to load between interactions - I’ll look at the image sizes and see if that could be a factor. If that doesn’t work I’l look into your suggestion.

Remove all show/hide actions from your interactions to be sure everything loads on page load and do not stutter. Set your backgrounds to absolute (also set their parent to relative so that absolute positioning of its children can work) and don’t hide them, just leave the opacity at 0.

1 Like


That works perfectly - thank you :slight_smile:

Hey! I currently encounter the same problem, only on mobile though!

I already switched the whole interactions to opacity instead of Hide/Show but it didn’t really work.

Here is my read-only link: