- Home /
EditorGUILayout.Popup shows menu in wrong position when using sub-menus
The popup is being drawn at the top of the screen when an item from one of the lower submenus is chosen.

I guess it mistakenly thinks if it's the 40th item in a list, it needs to start drawing from the top of the screen (as it would in a non-hierarchical menu).
A post from 2 years ago suggest it's a bug affecting Mac only, but I don't have a PC to test.
Does anyone know a workaround for this?
https://answers.unity.com/questions/1259624/editorguipopup-drawing-in-the-wrong-position-only.html
popupproblem.png
(89.4 kB)
Comment
Your answer
Follow this Question
Related Questions
Editor scripting, select a field 1 Answer
Custom Editor fields listed below script variables 1 Answer
Populate popup menu with List<> 0 Answers
How can I disable popup tooltips in editor? 0 Answers
Set the Rect of PopupWindowContent 1 Answer