Skip to main content
Question

Smart animate doesn't work when auto layout is turned on in a component


Colton_Schweitzer

image

image

In the first toggle, the interaction only triggers off of the toggle being hovered, not when the text is hovered. When triggered, the animations do change to the correct component, but smart animate doesn’t work. It’s instant.

Smart animate does work with the regular toggle.

4 replies

Samantha_Pecan

This isn’t a bug, you haven’t properly wired the interactions. You drew the interaction from just the toggle, so it’s not going to work when you hover over the words because you haven’t told it to. Make sure the label and toggle are within one frame making up a variant of your component. Repeat until you have 4 variants of this toggle with label component. It should look like the image below. Notice that the noodles are coming from the right edge of the words, not just the right edge of the toggle like you have in your image. This indicates that the action will be triggered from the entire component, not just the nested toggle component.

If set up correctly, it works exactly as intended


Bruno_Barreto

Hey! Try again today!
Yesterday my Figma updated and now my nested and overrides components are working well with auto animate - both with auto layout.


Colton_Schweitzer

Thanks, Bruno! It looks like it’s working now. 👍


Bruno_Barreto

Not totally. Hahaha. In another file, with another complex component, I wasn’t able to animate a nested component inside this complex component ☹ .

I couldn’t detect what was the specific update point to take advantage and try to make complex components, with nested ones, totally compatible with Smart Animate.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings