Skip to main content
Hannah_Taylor
New Member
January 18, 2024
Solved

Random frames defaulting to Absolute Position when applying Auto-Layout

  • January 18, 2024
  • 19 replies
  • 2215 views

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?

This topic has been closed for replies.
Best answer by y_toku

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

19 replies

y_toku
Figmate
y_tokuAnswer
Community Support
January 19, 2024

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

January 30, 2024

@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

Hannah_Taylor
New Member
January 30, 2024

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.

NLB
New Member
February 2, 2024

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.

Jacob_Singleton
March 5, 2024

This issue is happening for me, too. Can someone from Figma reply with what’s going on?

rb123
March 11, 2024

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.

KennLucas
July 14, 2024

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.

RobinSchreiner
New Participant
July 15, 2024

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.

July 16, 2024

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

Shukri
New Member
July 22, 2024

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.