Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sideNav Not collapsing after item selection #82

Open
wvitpr opened this issue Sep 26, 2022 · 4 comments
Open

sideNav Not collapsing after item selection #82

wvitpr opened this issue Sep 26, 2022 · 4 comments

Comments

@wvitpr
Copy link

wvitpr commented Sep 26, 2022

Hi,
There seems to be an issue with the sideNav not collapsing after you select a menu item, it works is ng but not ng2.

@mvid-servoy
Copy link
Contributor

mvid-servoy commented Sep 26, 2022

Hello,
I've created a very simple app containing a sidenav using three menu items and two subitems, and display a message with selected item ( onMenuItemSelected() ...). Tested on both Windows and MacOS platform and it's collapsing ok (with item selected). Can you, please, provide a small sample where this issue is reproducing?

Thank you

@jurraburu
Copy link

Hi,
I can not make sideNav to open the item that has subitems just clicking on the menu item. The only way it opens is clicking on the arrow icon to the right of the menu item.
But the Servoy sample solution works just clicking on the menu item to open the subitems.
What am I missing?

@jcompagner
Copy link
Contributor

attach a sample

@jurraburu
Copy link

Solved using elements.sideNavigation.setMenuItemExpanded("id",true)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants