metismenujs icon indicating copy to clipboard operation
metismenujs copied to clipboard

1st level inactive

Open gtbu opened this issue 3 years ago • 2 comments

I added metismenu (metismenujs - v1.2.1 vertical - because it doesnt need jquery) to cmsimple-cms and have it functioning. But just the anchors of Menulevel 1 without dropdowns function. At Menulevel 1 with dropdowns only the sublinks function - similar to bootstrap 4 (where the toplevel is inactive as soon as it has a dropdown). The click just opens the dropdown.... If i open the dead anchor in a new browser-tab it functions. The anchors of the deeper menulevels function. Smartmenus doesnt have the problem (hover)

gtbu avatar Sep 05 '20 15:09 gtbu

@gtbu

Could you please share your code?

onokumus avatar Sep 05 '20 19:09 onokumus

I use the code from https://onokumus.com/metismenujs/mm-vertical.html# (Auto Collapse default) --- In the between i know why it doesnt funtion at that point, neither in bootstrap 4. If i klick at a menulevel 1 link with dropdown then the menu opens - and not also the link - otherwise i would immediately be in the site of the toplevel link. The only possibility to overcome this is a mouse-hover-menu which imediately opens the dropdown. Then i can still choose the link of menulevel 1. Of course a code with mouseover in the above site would be great (but i am modest)

P.S. https://mm.onokumus.com/mm-vertical-hover.html with vertical dropdowns would be a solution - but it uses jquery.

gtbu avatar Sep 06 '20 12:09 gtbu