Skip to main content
Elizabeth9
Jul 24, 2023 7:21 PM UTC
Solved

Backwards Autolayout and issues with prototypes

Has anyone experienced a weird bug where the autolayout align commands appear backwards to the expected result? I.e when I try to left align an autolayout it right aligns it instead. Also having issues with prototype previews within the same file. Wondering if it is a corrupt file or if others are having similar issues.

This topic has been closed for replies.
David
DavidSolution
New Participant
Jul 24, 2023 11:27 PM UTC

@Elizabeth9 are you sure that the Rotation value is set to 0? It’s easy to recreate your scenario when the auto layout has a mirrored rotation set to it? You can still place objects in with the correct orientation, even when a parent is rotated.

Check my demo image here: https://uploadpie.com/KH2uVE

11 replies

tank666
Jul 24, 2023 7:46 PM UTC
UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank
Elizabeth9
Jul 24, 2023 8:00 PM UTC

They are not. It happens even when creating a net-new autolayout within this file.

tank666
Jul 24, 2023 8:04 PM UTC

Could you share a link to this file?

UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank
Elizabeth9
Jul 24, 2023 8:24 PM UTC

Unfortunately it is for work and the file contains sensitive info that can’t be shared.

Josh
Former Community Manager
Jul 24, 2023 8:31 PM UTC

Hey @Elizabeth9 are you able to reproduce this in a separate file by chance?

David
DavidSolution
New Participant
Jul 24, 2023 11:27 PM UTC

@Elizabeth9 are you sure that the Rotation value is set to 0? It’s easy to recreate your scenario when the auto layout has a mirrored rotation set to it? You can still place objects in with the correct orientation, even when a parent is rotated.

Check my demo image here: https://uploadpie.com/KH2uVE

Elizabeth9
Jul 25, 2023 1:54 PM UTC

You are correct. This was causing the issue with the prototype preview as well. Thank you!

Josh
Former Community Manager
Jul 25, 2023 3:41 PM UTC

Thanks @David for jumping in to help! @Elizabeth9 glad this was an easy fix for you! 🙂

jasha.aitchison
Oct 4, 2024 3:56 PM UTC

I have the same issue but none of the parents are rotated 🤨

It seems to happen randomly and only in the past few weeks.

Nellya
Power Member
Oct 4, 2024 4:06 PM UTC

Probably it’s not rotated, but flipped