My state's animation is not smooth

May 06, 2024

Hello community!

I'm using a shape in my file with a hover state. The idea is to have a circle animation playing when hovering over it, however, for some reason it glitches or "blinks".

Could you help? The file is attached.

Thanks!

 

4 Replies
Tom Kuhlmann

The animation glitches because when you hover over the image, the image disappears for a split second while the other image has an entrance animation. So it's like it grabs onto the image when you touch the image, but then it disappears so it lets go, and then the image reappears and it grabs on.

You can add a white shape under the image in the hover state so that it has something to hold onto.

Personally, I think that's a weird effect for the image to disappear and then animate in like that. But if that's what you want, adding a shape under the image should work to prevent the flicker.