Text of overlapped context menus is visible
Rafii2198 opened this issue ยท 1 comments
Describe the bug
Sub-menus may overlap on each other when there is not enough space, it looks like it does not check for the position of parent menu when rendering child menu. It makes it so you can't access some settings or at least makes it harder without moving the element first to make more space, which may not be always possible due to Advanced Positioning
To Reproduce
Steps to reproduce the behavior (e.g.):
- Place an element (e.g button) around 3rd quarter of the screen or anywhere close to the edge
- Right click on it to bring up the menu
- Go to a sub menu, preferably one with more sub menus in them, like Button texture
- At some point, one of the sub menus will render inside the previous one as there is not enough space
Expected behavior
The sub menu would render, for example, above or below, or the whole menu would shift to make it fit or maybe the combination of the two when there is not enough space vertically then it will shift everything.
Basic Information:
- OS: Windows
- FancyMenu Version - 3.3.2
- Fabric Version - 0.16.7
- Minecraft Version - 1.21.1
- Active Mods - Mods Menu and latest version of required dependencies