Closed
Description
I'm trying to set a particular CSS style to limit the height of a sub-menu and set overflow properties. My submenu is very long and ends up extending past the limits of the browser window and is not scrollable. I've tried using className to do this but I don't seem to be able to get the className to apply only to the submenu - it seems like it is always applied to both the sub-menu and the menu item that triggers the sub-menu. I've tried the following configuration:
{
...
items: {
subMenu: {
className: someClass,
items: {
...
}
}
}
But this applies someClass to both the 'subMenu' element in the primary menu and the subMenu itself i.e. on both the li for "subMenu" and the ul containing all of the subMenu li elements. Is there a way to just have someClass applied to the subMenu?
Metadata
Metadata
Assignees
Labels
No labels