For the past few weeks my team and I have been noticing this issue where we apply auto layout to a set of items and one of the items will randomly take absolute position property by default. Then you have to go digging around in your layer panel to find which item took the absolute position and turn it off in order for the auto layout to order things as expected (the way it was working previously). Anyone else experiencing this or know how to fix it?
Hi there,
Thank you for your post! When you apply Auto Layout to a frame that already contains elements, we might need to use absolute positioning to maintain your original layout. This approach was introduced last year. There is another thread here: https://forum.figma.com/t/auto-layout-makes-contents-absolutely-positioned/52495/6.
If it’s causing them problems we suggest adding auto layout to a frame first, before adding any elements. However, if you are encountering anything unexpected behaviors, please feel free to reach out to our support team: https://help.figma.com/hc/en-us/requests/new. They will be able to examine your file directly and provide specific assistance.
I hope it helps.
Thanks,
Toku
@y_toku I also faced this problem and seeing that this is intentional behavior is disappointing, to be honest. Instead of quickly hitting Shift+A and adding AL, I need additionally go inside and remove the absolute position. If I make ex. a table with AL it becomes tedious unnecessary work that Figma added on top
Completely agree with you here, my entire team has been super frustrated with the extra effort this requires. Absolute positioning is (in my opinion) a last resort setting that should only be applied when the other settings will not get the job done. When applied, that object doesn’t behave dynamically like the rest of the objects within the frame, so I never want to use it unless I have to. It seems like they have over-indexed for the edge cases rather than just supporting typical expected behavior. Sad to hear; was hoping that this was a bug and would be fixed eventually.
I’m also disappointed and sort of stunned that this is expected behavior. Autolayout is useful because it saves time aligning elements - no time is saved if you have to align perfectly before applying autolayout.
This issue is happening for me, too. Can someone from Figma reply with what’s going on?
This is happening to me every time I create an auto layout - it’s the most frustrating thing ever! I would expect that even if I don’t have the layers in the right position, creating an auto layout should at least assume it will go in the horizontal or vertical direction. I feel like Figma used to do this, and it’s only recently turned buggy with this absolute position behaviour.
This is absolutely unacceptable. It is a horrible thing to force absolutely positioned objects on designers who then have to go back in and do it the right way.
I think what angers me…really…angers me, is the fact that Figma acts like this is just how it is.
It has notr ALWAYS been like this. The thing used to work in a way that did not make designers go in and undo a bunch of things just to be able to sdo our jobs.
But somehow Figma (again) took the easy way out and said “We can’t figure out how to do it right…so let’s just absolutely position it and let the users deal with it.”
THAT part is not acceptable.
I have the additional fun that random elements inside a already existing component become absolute from time to time when they are triggered by component boolean like “Show Icon”.
In some instances the icon works and is shown as expected, in other cases it gets absolut positioning without the possibility to change it as it is inside a component.
I’m also experiencing this when using boolean component properties! A layer within the component instance will randomly become absolutely positioned, requiring me to break the component to get the expected layout. Hoping this is a bug and not intentional behaviour because I don’t know when this would ever be helpful
This same thing is happening to me. It’s overriding the layout of component instances. Why would you override the layout of my own component?!!
And what is even more infuriating is that I cant override what Figma has overridden. I cant remove absolute position to a layer in a component instance that Figma has randomly decided to make absolute.
Thank you all for the feedback. I’ve passed it along to our internal team. While I can’t promise a fix, the product team will look into it. I’ll let you know as soon as there are any updates.
Thanks for your patience!
Toku
As a designer managing systems for multiple design teams at an enterprise company, these small changes like applying absolute positioning when an AL property is applied or changed is costing us literal thousands of dollars in lost efficiency.
This is a bug, not an enhancement or feature. We have developed our design systems with Figma’s support and this behavior was not present in previous iterations of the software. PLEASE fix this bug ASAP. We cannot keep resetting components when absolute positioning is auto-applied.
I’ve noticed this same issue after updating my desktop app. Relatively new Figma user, so I wasn’t sure what the brackets around the layer icon in the layers panel meant at first. Absolute positioning seems to happen on component instances at random and there’s no way to remove it. I’ve had to go fiddle with my main component to fix it (even though it had NO absolute positioning to begin with.)
Thanks for the details. I’ve shared your feedback with internal teams again. Sorry for the confusion. I’ll let you know as soon as there are any updates.
Thanks,
Toku
Indeed, the issue is especially frustrating when it comes to elements inside component instances being overridden. It broke my layouts without me even noticing, because I rely on components for this specific reason: to be able to manage one instance rather than 30 instances. I honestly thought it was a bug and was waiting for it to be fixed, and I am surprised to know it was intentional.
In my experiments with this, there are times when it makes sense and works as expected when creating a new AL and some outlier object not in a hint of a column or row with the other objects is then placed as an absolute positioned object. The current placement of the objects influences the assumed layout structure it should take when applied, horizontal, vertical, or wrap. While there are initially elements of that placement logic that make sense but it seems—also from what others have said—that placing the desired objects into the auto layout is the preferred action and not to have outliers become absolute positions. My work flow consists of building things into auto layout frames, not building it on a normal frame where everything is essentially absolute positioned and then selecting and putting things into auto layouts hoping that certain things are clearly outside of a conventional row/column format to be absolute positioned instead. In my early days of Figma, auto layout was hard to understand and build in, there was a bit of a learning curve as I wasn’t accustomed to thinking of objects in specific groups with specific spacial relationships. But pretty quickly, once familiar with auto layout, it become the easy way to build things to make sure the spacing follows our desired patterns and to keep layering simple. If I’m going to add a nice tag that hangs off the corner of my card, I’m going to manually absolute position it because that makes sense, it is the exception to the rule of the card, that everything is in a column or row.
What baffles me is that there will be items inside of multiple auto layout layers of an AL object and when this object is put in a new AL, suddenly a random item three layers deep in the AL layers of these objects randomly sets to absolute position! Something like this has been happening almost every time I am putting components or non component objects into new auto layouts.
For example I have a several cards that each have three auto layout rows with text, buttons, images, etc in the rows respectively. These auto layout rows are in a vertical AL to build the card. I took several of these cards and put them in a new horizontal AL together to make a carousel and these small frames (with invisible content), inside a horizontal AL, inside the vertical AL of the card suddenly all decided to absolute position. It happened a second time when I took three of these carousel rows and put them in a vertical AL together, the same little frame at the top left switched to absolute position. Just for context, there is a parallel frame on the top right in the row with the avatar and this row is laid out this way because content appears on hover. I’ve had other examples with content clearly visible change it’s AL position multiple layers deep, so while I think there can be an influence from the apparent emptiness of a layer influencing its chance to become absolute positioned within it’s AL when an exterior AL is applied/added, I don’t think it is the only factor.
Not to mention how frustrating it is to take component instances and to put them in an AL together, with the intent of building a bigger component, and seemingly random frames multiple layers inside this component (possibly in a separate smaller component itself!) become absolute positioned after a new exterior AL is applied. I have to click into the component and “Reset All Changes”, removing any intentional changes made, of that instance in order to fix it as I can’t remove the absolute position of the specific frame inside of a component instance.
Hi everyone here!
Want to support this topic. I was very surprised and frustrated when, at some point, I discovered that in some components of our large design system, some hidden elements suddenly got absolute positioning. And I didn’t even know about it! Because before, I would just add AutoLayout to a group/frame, and everything worked as expected. But now, absolute positioning is RANDOMLY applied to elements within the group. For example, in a group, I have three elements: one visible and two hidden. If I add AutoLayout to the group, absolute positioning is applied either to the visible element or to the hidden ones. This is unfortunately not very user-friendly. It’s very annoying and forces me to take a lot of unnecessary steps. Plus, now you constantly have to keep in mind to check what happened to the elements in the group with AutoLayout.
This is very strange behavior. It would be great if the Figma team could hear us and fix this.