Submenu will fit the browser window
Submenu menu overflows out of the browser
Joomla 4.0.2
I think the reason is how many menus you have on top.
it still should not happen
Some dropdown methods can detect the edge of the page and move the dropdown to the left.
The Metismenu method, which is used in the Cassiopeia template, uses absolute positioning for displaying the submenu, so you just need to assign the "right" property to the submenu (e.g. right: 0;) and the result can look like this:
Unfortunately, this is statically set in CSS, I don't know the Metismenu library, so it's hard to say if this could be set (recalculated) dynamically according to the menu position.
metismenu can definitely do this see the documentation and exaamples https://onokumus.com/metismenujs/mm-horizontal.html
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-10-04 15:38:45 |
Closed_By | ⇒ | alikon |
Hi Jan,
Where can we see these overflows?
https://cassiopeia.joomla.com/help/menu-module
Edit: Now I saw your screenshot under Github (not on Issue tracker).
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/35713.