Figma Support Forum

Issue with interactive components and auto layout

Hello. I have an interactive component that changes size on tap. I stacked the component in a page using auto layout. When I tap on the component, the size change doesn’t show in the prototype.
In the example below I show what I mean.


I’m not sure if this is the intended behaviour. If there is a workaround please let me know.

Thanks!

1 Like

It’s a known limitation, currently while this feature is in beta, it doesn’t work with auto layout.

3 Likes

Thanks for the answer!

Also aware that this is a limitation, but heard it’s know and being worked on. I am having an issue with buttons having an interactive pressed state, and the horizontal auto-layout is also causing some issues (though that is only part of my problem).

You can see it documented here Scale effect has bugs when using Variants' Interactions

Confirmed today that this is still an issue for me. Auto-layout or component height is still not supported for interactive components.