Hello, community!
I have created a component containing different states for a menu item. I want to have a small rectangle on the left side of the item that stays visible when the page is active but most importantly to smart animate on hover over the other items in the menu. The animation is simple: the rectangle has a width of 0px when is not hovered and 10px width on hover. The problem is that whenever I hover over the item, the width of the rectangle is instantly 10px width and when I stop hovering, it is animating the width of the rectangle.
Thank you in advance for the possible answers!
Smart animate while hovering
Best answer by y_toku
Hi there,
Thank you for reaching out and sending over the file. I’ve taken a look at your layer and tried to replicate the process using my simplified sample. Everything seems to be working on my end, as you can see in the attached video.
Just a quick tip: when creating frames for smart animate, you can simply duplicate them. This helps maintain consistent naming across each frame. You can then add or remove layers to each frame as needed. Here’s a helpful link that explains how to do this: https://help.figma.com/hc/en-us/articles/360039818874-Smart-animate-layers-between-frames
Could you give it another try and let us know if it works?
If you have any further questions, please let us know!
Thanks,
Toku
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.