Skip to main content
sekeidesign
April 7, 2021
Question

Is there any way to change the "z-index" of an auto-layout child?

  • April 7, 2021
  • 35 replies
  • 58654 views

I’m using auto-layout for this modal, just like I do for pretty much everything else, and I’m creating a modal, with a text field, and a dropdown.
The dropdown should float above the buttons, and I’d prefer to do this with auto-layout. (I know I could use an overlay, it would be nice to control the z-index somehow though)

This topic has been closed for replies.

35 replies

Hailey5
November 5, 2023

You are a hero. Thank you so much.

December 14, 2023

Also, if you are planning to make a navigation bar that is sticky on the top and the content to scroll under it, try the following method:

Greg24
February 23, 2024

This worked for me!

image

March 28, 2024

You can use hierarchy, is the bast way to position elements.
example:

1 - Title
2 - Menu
3 - Background

in this order

Anuj4
November 8, 2024

Thanks a lot i was suffering with this problem from last 3 months