Figma Support Forum

Component with nested interactive components doesn't resize with expand animation

Interactive component has an expand function, an extra description that slides out under the title when clicked on.

The interactive component is placed in a list component with multiple instances. When I click the title in the prototype, the text expands, but the other items don’t slide down. But if I change the state of the interactive component within the list component outside of the prototype, on the artboard, then it does work.

Both the list and the interactive components are set to ‘hug contents’ for their vertical height.


A post was merged into an existing topic: Support Auto Layout in Interactive Components