7
Views
1
Comments
Solved
Stop Nav from auto hiding.
Application Type
Mobile

Hi Community,

When I click on a Submenu the other submenu that is opened will hide. Is there a way to make sure submenus don't auto hide? 

mvp_badge
MVP
Rank: #72
Solution

Hi Alvin,

In order to achieve/implement the mentioned functionality/use-case, you will have to customize the submenu widget in itself. It is just a slight code-change in the actual implementation which you can do easily by following the below-mentioned steps.

See this Sample app | Custom_Submenu


Implemented Points:

  • From the OutSystemsUI clone module, copy the submenu widget block to the application module
  • Make some slight code changes within the cloned submenu  Block -> OpenMenu action flow -> JS node 
  • Please refer to the mentioned comments in the OpenMenu action flow (in the SubmenuCustom block scope) 

Please refer to the attached .oml file

Hope this helps you!


Kind regards,

Benjith Sam

MobileLabCustomSubMenu.oml