# Makie: how to avoid dropdown menus overlapping?

**URL:** <https://discourse.julialang.org/t/makie-how-to-avoid-dropdown-menus-overlapping/65556>\
**Category:** Visualization\
**Tags:** makie\
**Created:** [July 30, 2021, 3:28pm UTC](https://discourse.julialang.org/t/makie-how-to-avoid-dropdown-menus-overlapping/65556 "2021-07-30T15:28:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![HenriDeh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/henrideh/32/8316_2.png) [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Post date:** [July 30, 2021, 3:28pm UTC](https://discourse.julialang.org/t/makie-how-to-avoid-dropdown-menus-overlapping/65556/1 "2021-07-30T15:28:16Z")

</div>

Hi,

Here’s a MWE of a Makie Figure with two dropdown menus.

```julia
f = Figure()
f[1,1] = Menu(f, options = ["aaa", "bbb", "ccc"])
f[2,1] = Menu(f, options = ["aaa", "bbb", "ccc"], direction = :up)

```

You’ll notice that when opening the top one, the options appear below the bottom selector.  
When opening the bottom one, the menu is above the top one. Which makes me believe that this is caused by the order in which they have been added in the Figure.  
How do I make both menus open on top of the rest of the figure ?

While I’m here, I have a second question : Why does the blue selection coloring stays on when I close the menus ?

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [July 30, 2021, 5:10pm UTC](https://discourse.julialang.org/t/makie-how-to-avoid-dropdown-menus-overlapping/65556/2 "2021-07-30T17:10:50Z")

</div>

Ah I probably increased the z value of the menus, but they all have the same, so insertion order wins. I should change this so z is only increased in the open state. And the blue coloring sound like a small bug
