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

Automatically Expand the Parent NavItem of the highlighted child NavItem #7182

Closed
sxp267 opened this issue Jan 31, 2024 · 0 comments · Fixed by #7183
Closed

Automatically Expand the Parent NavItem of the highlighted child NavItem #7182

sxp267 opened this issue Jan 31, 2024 · 0 comments · Fixed by #7183
Assignees
Labels
enhancement New feature or request Impact: High

Comments

@sxp267
Copy link

sxp267 commented Jan 31, 2024

Describe your motivation

I've a subNavItem and when I click that, it is highlighted which is good. But when I directly hit the subNavItem address in the URL, it is not. I do not see the parent also getting highlighted. Is this a bug ?

Describe the solution you'd like

Parent navItem should expand automatically and show the child item highlighted. In the business app, it is how it is https://labs.vaadin.com/business/accountants

Additional context

image

image

@sxp267 sxp267 added the enhancement New feature or request label Jan 31, 2024
@sissbruecker sissbruecker transferred this issue from vaadin/flow Jan 31, 2024
@yuriy-fix yuriy-fix changed the title Expand the Parent NavItem when child NavItem url is directly typed the browser address Automatically Expand the Parent NavItem of the highlighted child NavItem Feb 1, 2024
@ugur-vaadin ugur-vaadin self-assigned this Mar 8, 2024
@ugur-vaadin ugur-vaadin transferred this issue from vaadin/flow-components Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Impact: High
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants