# PopupMenu and itemIdThatMustBeVisible

**URL:** <https://forum.juce.com/t/popupmenu-and-itemidthatmustbevisible/1698>\
**Category:** General JUCE discussion\
**Created:** [May 15, 2007, 4:35pm UTC](https://forum.juce.com/t/popupmenu-and-itemidthatmustbevisible/1698 "2007-05-15T16:35:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RolandMR](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/rolandmr/32/641_2.png) [@RolandMR](https://forum.juce.com/u/RolandMR)\
**Post date:** [May 15, 2007, 4:35pm UTC](https://forum.juce.com/t/popupmenu-and-itemidthatmustbevisible/1698/1 "2007-05-15T16:35:32Z")

</div>

Something in the PopupMenu broke in the last few builds.

If you show a popup menu near the bottom of the screen, the menu goes upwards. Unless you specify itemIdThatMustBeVisible then the menu menu goes down, showing only 2 items and then a scroll arrow. If you mouse over the scroll arrow, then the menu moves up the screen showing everything.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [May 15, 2007, 5:35pm UTC](https://forum.juce.com/t/popupmenu-and-itemidthatmustbevisible/1698/2 "2007-05-15T17:35:43Z")

</div>

Well that’s deliberate - it’s the same way that the mac does menus, because it means that when you pop up a combo-box, the currently selected item is over the combo box, right under the mouse.

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [May 12, 2017, 8:56pm UTC](https://forum.juce.com/t/popupmenu-and-itemidthatmustbevisible/1698/3 "2017-05-12T20:56:43Z")

</div>

Closed on May 12, 2017, 8:56pm UTC


