Skip to main content
Hilal Aflad
New Member
Oct 16, 2026 8:37 PM UTC
Question

"Updated" auto-layout breaks center strokes

I have a brutalist style design that involves lines and strokes and depends on a specific relationship between different elements with strokes. To achieve that, I have been using centered strokes since they run perfectly centered on the element’s edges, and adjacent touching/tangent elements’ strokes meet up perfectly without doubling - simple and straightforward, no extra work needed to adapt the physical dimensions of the elemens for the stroke or choose different stroke positions for different elements.

But recently I noticed that the elements get overlayed on top of their parent’s stroke, and to “fix” that I have to enable “Clip content” - which in turn breaks a lot of other elements within the stroked element that depended on out of bounds design elements, like frame edge/corner decorations.

Let me know whether this is unintended behavior, and whether I can expect it to be fixed. Otherwise let me know whether there’s any way for this to be remedied while maintaining stroke position consistency.
 

The problem. The gray element overlays the parent element’s stroke. “Fixed” by enabling “Clip content”,  but I deliberately turned it off to preserve out-of-bounds design elements of children like custom borders and corners with “Ignore auto-layout” position.
The expectation. Parent’s stroke overlays on top of its children. I had to enable “Legacy” layout only to visually present the expected behavior.

 

1 reply

adamsmasher
Figmate
Figmate
Oct 18, 2026 4:33 PM UTC

Hi, ​@Hilal Aflad. Thanks for your post and the detailed explanation - I can see why this is unexpected for you.

 

The updated auto layout deliberately stops counting center and outside strokes in spacing calculations. That change is covered in our help article on using auto-layout with CSS flexbox in mind. 

 

One approach to try with Updated layout is a separate border layer: a rectangle with no fill and your existing centered stroke, set to Ignore auto layout and placed above the content. Constrain it to all four sides so it resizes with the parent, and keep Clip content off. I’m think that this should preserve the centered border and allow your other child content to extend outside the frame.