# Tree Component not working in a Dropdown

**URL:** <https://forums.realmacsoftware.com/t/tree-component-not-working-in-a-dropdown/54301>\
**Category:** Elements\
**Created:** [February 12, 2026, 4:39pm UTC](https://forums.realmacsoftware.com/t/tree-component-not-working-in-a-dropdown/54301 "2026-02-12T16:39:19Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![BrettHannam](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@BrettHannam](https://forums.realmacsoftware.com/u/BrettHannam)\
**Post date:** [February 12, 2026, 4:39pm UTC](https://forums.realmacsoftware.com/t/tree-component-not-working-in-a-dropdown/54301/1 "2026-02-12T16:39:19Z")

</div>

I am trying to use a Tree component within the Content section of a Dropdown Component. (Elements 2.0 Beta)

If the Dropdown is the only content on the page, this will work as expected.

If the **Dropdown** is below all other content on the page, then it will work as expected.

If there is any content **below** the Dropdown, the Tree will appear but the links are disabled.

Is this a bug or am I missing something?

---

<div class="post-metadata">

**Author:** ![sbchasin](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/sbchasin/32/26943_2.png) [@sbchasin](https://forums.realmacsoftware.com/u/sbchasin)\
**Post date:** [February 12, 2026, 4:45pm UTC](https://forums.realmacsoftware.com/t/tree-component-not-working-in-a-dropdown/54301/2 "2026-02-12T16:45:50Z")

</div>

Try increasing the z-index of the component that the Dropdown component is in to 51 or higher. If the dropdown is by itself and not in another component, set the z-index for the dropdown to \>51.

---

<div class="post-metadata">

**Author:** ![BrettHannam](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@BrettHannam](https://forums.realmacsoftware.com/u/BrettHannam)\
**Post date:** [February 12, 2026, 4:56pm UTC](https://forums.realmacsoftware.com/t/tree-component-not-working-in-a-dropdown/54301/3 "2026-02-12T16:56:33Z")

</div>

Thanks - unfortunately the Dropdown Component doesn’t have a z-index setting. When I put it in a container and change its z-index, the Dropdown doesn’t even open.

Placing the container with the Dropdown below other content still works fine.

---

<div class="post-metadata">

**Author:** ![sbchasin](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/sbchasin/32/26943_2.png) [@sbchasin](https://forums.realmacsoftware.com/u/sbchasin)\
**Post date:** [February 12, 2026, 5:01pm UTC](https://forums.realmacsoftware.com/t/tree-component-not-working-in-a-dropdown/54301/4 "2026-02-12T17:01:08Z")

</div>

I’m sorry, just looked at mine. Try increasing the z-index for the **tree**

---

<div class="post-metadata">

**Author:** ![BrettHannam](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@BrettHannam](https://forums.realmacsoftware.com/u/BrettHannam)\
**Post date:** [February 12, 2026, 5:40pm UTC](https://forums.realmacsoftware.com/t/tree-component-not-working-in-a-dropdown/54301/5 "2026-02-12T17:40:12Z")

</div>

Still no luck, I’m afraid. Thank you for the suggestion.

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [February 12, 2026, 10:49pm UTC](https://forums.realmacsoftware.com/t/tree-component-not-working-in-a-dropdown/54301/6 "2026-02-12T22:49:42Z")

</div>

Can you share your project via Elements Cloud and post the link here? If so we can take a look and see what’s going on for you 🙂

---

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [February 12, 2026, 11:44pm UTC](https://forums.realmacsoftware.com/t/tree-component-not-working-in-a-dropdown/54301/7 "2026-02-12T23:44:38Z")

</div>

content below the dropdown, I placed the dropdown in a container and set the z index of the container to 31

---

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [February 12, 2026, 11:46pm UTC](https://forums.realmacsoftware.com/t/tree-component-not-working-in-a-dropdown/54301/8 "2026-02-12T23:46:39Z")

</div>

very crude project

[elementsapp://downloadDocument/gdjxFhAhnQtM](elementsapp://downloadDocument/gdjxFhAhnQtM)

---

<div class="post-metadata">

**Author:** ![BrettHannam](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@BrettHannam](https://forums.realmacsoftware.com/u/BrettHannam)\
**Post date:** [February 13, 2026, 9:11am UTC](https://forums.realmacsoftware.com/t/tree-component-not-working-in-a-dropdown/54301/9 "2026-02-13T09:11:53Z")

</div>

Thanks Dan - here is the example: [elementsapp://downloadDocument/hpYJ1uiWymQf](elementsapp://downloadDocument/hpYJ1uiWymQf)

---

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [February 13, 2026, 9:43am UTC](https://forums.realmacsoftware.com/t/tree-component-not-working-in-a-dropdown/54301/10 "2026-02-13T09:43:42Z")

</div>

same behaviour
