xh / hoist-react

🏗️ ⚛️ The XH Hoist toolkit for React
https://xh.io
Apache License 2.0
24 stars 8 forks source link

DashContainer nested menus are incorrectly positioned #3723

Closed TomTirapani closed 1 month ago

TomTirapani commented 1 month ago

If you use groups for your DashViewSpecs they are grouped in the context menu into submenus. The second level of menus are incorrectly positioned - they seems to also open in the same position, rather than anchored to the prior menu item. This can make it impossible to select an item if the two menus do not align properly. Screenshot 2024-07-12 at 12 15 40

Note that this is not an issue with other forms of nested menus (e.g. grid context menus), which appear to be positioned correctly:

image

TomTirapani commented 1 month ago

I have set up a Toolbox branch which demonstrates the issue: https://github.com/xh/toolbox/tree/dashContainerMenuBug