Skip to main content
Solved

Absolute positioning and z-index


FigmaIsBad

Although absolute positioning is achieved, if used in this way, it will be obscured

image

Best answer by Denise_Hagenow

I’m not talking about the layer order. There is a new feature called “Canvas Stacking” within Auto Layout which could solve your issue.

Imagine you have the following Structure

Your Frame
— Your Button
— Your Table

Try to change the Canvas Stacking at “Your Frame”

image

View original
This topic has been closed for comments

6 replies

Denise_Hagenow

You have to change the canvas stacking to “First on Top” for the Parent Frame which contains your button and the element beneath

In my case it’s the “swap content here” frame to influence the stacking of the containing frames


FigmaIsBad
  • Author
  • 24 replies
  • May 18, 2022

I know,Figma achieves top first by adjusting the layer order so that the position of the parent layer on the canvas is adjusted if automatic layout is used


Denise_Hagenow

I’m not talking about the layer order. There is a new feature called “Canvas Stacking” within Auto Layout which could solve your issue.

Imagine you have the following Structure

Your Frame
— Your Button
— Your Table

Try to change the Canvas Stacking at “Your Frame”

image


igortrizna

Many thanks! 🤝 I’v tried to fix this so many time, but could’t. Now everithing perfect 🙌


Dustin_Miller

💯 Thanks for the comment!


harold.ao
  • 4 replies
  • January 19, 2024

you’re a legend🎊


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