# Does z-order in perspective work with flex containers?

**URL:** <https://forum.inductiveautomation.com/t/does-z-order-in-perspective-work-with-flex-containers/112760>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [December 11, 2025, 3:29pm UTC](https://forum.inductiveautomation.com/t/does-z-order-in-perspective-work-with-flex-containers/112760 "2025-12-11T15:29:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielps1818](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@danielps1818](https://forum.inductiveautomation.com/u/danielps1818)\
**Post date:** [December 11, 2025, 3:29pm UTC](https://forum.inductiveautomation.com/t/does-z-order-in-perspective-work-with-flex-containers/112760/1 "2025-12-11T15:29:08Z")

</div>

Hi!

I'm working with a flex container but for some reason I'm not able to make it work with the components inside.

Does the z-order not work on flex containers?

Here my problem:

 ![{B5EE0B44-ACC2-44E5-9BC0-2C935B088F1E}](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/7/d7ea771f72b98abf45605e37d77040d5e102f260.png)  
 ![{4E3C53C0-A794-4A93-B596-42D82C21BF6C}](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/c/1cd696b12a6dcd2a4e0e96fcb1e6364aeee3cb04.png)

The margin of The EmbeddedView is set to -25px so the buttons overlap. Even that buttons are on the "front" they don't show. No idea why.

Thanks!

---

<div class="post-metadata">

**Author:** ![code\_skin](https://avatars.discourse-cdn.com/v4/letter/c/43a26b/32.png) [@code\_skin](https://forum.inductiveautomation.com/u/code_skin)\
**Post date:** [December 11, 2025, 3:33pm UTC](https://forum.inductiveautomation.com/t/does-z-order-in-perspective-work-with-flex-containers/112760/2 "2025-12-11T15:33:41Z")

</div>

It’s a known issue.

> [@\[IGN-10401\] Re-ording items in Flex container is fun](https://forum.inductiveautomation.com/t/ign-10401-re-ording-items-in-flex-container-is-fun/112084):
>
> I’m sure this is still an issue in 8.3, and has been for a long time in 8.1.. When trying to reorder items in a flex container, it’s awfully difficult. It’s mostly not as bad as in a column container (a big reason I stopped using them), but it’s a regular fight. Nothing is better than a demo: I’m trying to drag the WaterNSW title to be the 2nd to bottom item, but when I try, the items switch places back and forth and I end up now dragging the item below the one I was dragging… and the i…

I use this work around

> [@\[IGN-10401\] Re-ording items in Flex container is fun](https://forum.inductiveautomation.com/t/ign-10401-re-ording-items-in-flex-container-is-fun/112084/8):
>
> I manage this with multi-selecting components in the project tree, then cut & paste (it retains the clicking order). [flex-control]

---

<div class="post-metadata">

**Author:** ![danielps1818](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@danielps1818](https://forum.inductiveautomation.com/u/danielps1818)\
**Post date:** [December 11, 2025, 3:41pm UTC](https://forum.inductiveautomation.com/t/does-z-order-in-perspective-work-with-flex-containers/112760/3 "2025-12-11T15:41:49Z")

</div>

Well apart of that...  
I had set a background color in the embedded view (funny)

Thx for the help!

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [December 11, 2025, 8:04pm UTC](https://forum.inductiveautomation.com/t/does-z-order-in-perspective-work-with-flex-containers/112760/4 "2025-12-11T20:04:24Z")

</div>

> [@danielps1818](#):
>
> z-order

Ps. The css prop is `z-index`
