Skip to main content
Question

Re: Prototypes — Why are sticky elements and auto-layout at odds with each other?

  • October 1, 2024
  • 3 replies
  • 575 views

Seth8

It’s maddening that Auto-Layout and sticky headers are at odds with each other. Auto-Layout puts the layer that visually appears at the top of a frame behind the others in the layering order, such that setting that object to be sticky makes it get covered by the other layers as they scroll past it. Forcing you to create an entirely separate design with auto-layout disabled and the layer ordering completely inverted. This seems like a massive error.

This topic has been closed for replies.

3 replies

Damian_Oczki
  • Active Member
  • 28 replies
  • October 2, 2024

In your Auto layout settings, what is the “Canvas stacking” option set to?

Does setting it to “First on top” solve the issue?


Luke-Itineris
  • Active Member
  • 129 replies
  • October 2, 2024

@Damian_Oczki’s theory will work. You are working in the wrong way @Seth8.

Set the page frame to ‘first on top’. Go to the navbar and set to sticky.


Seth8
  • Author
  • 1 reply
  • October 2, 2024

Yes, I found this as well. It’s surprising to me that Figma defaults to the opposite. It would make much more sense to default to the setting that works with auto-layout’s default layer ordering.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings