UserInfo Submenu stays open even after clicking on content in page
Question

Hi,

In Reactive Web, I have a sub-menu in the Usermenu, top right for a web app. When I open the submenu, it stays open even if I click some content inside the page (see below). It will close only if going to another page.

Is there a way to change this?

On the More sub menu of my main menu, I do not have the same problem (see second gif)

1- the problem, the behavior should be the sub-menu close when a section is click on the left.


2- in the main menu, no problem:


Any help is greatly appreciated!

Francoise


mvp_badge
MVP
Solution

Hi Francoise ,

I have attached one demo oml based on your requirement.

You need to add userinfo in menublock. Or you need to some js to collesp this submenu.

See this demo hope this will help you.


Regards

Rahul Sahu

MenuSubMenu.oml

Rahul Sahu wrote:

Hi Francoise ,

I have attached one demo oml based on your requirement.

You need to add userinfo in menublock. Or you need to some js to collesp this submenu.

See this demo hope this will help you.


Regards

Rahul Sahu

Great thank you so much!  It helped me to narrow down what was wrong. I already had the userinfo block but the problem was that the usermenu was not inside the pagelinks container, moving it there that fixed the problem.

 

mvp_badge
MVP

Welcome Francoise , 

Glad to help you.


Cheers


Hey @Rahul Sahu ,

My requirement is submenu should not close once selected. 

submenu should be open after selection of the particular item.

Kindly help me out to resolve the same,


Regards,

Sowndarya

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.