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

fix: navigation does not expand when navigating through the page by bookmark or link #2142

Closed
MarvinKlein1508 opened this issue Jun 3, 2024 · 2 comments
Labels
status:blocked Any issue blocked by another

Comments

@MarvinKlein1508
Copy link
Contributor

🐛 Bug Report

When navigating to a certain page which is nested underneith a FluentNavGroup the correct item will get the active class but the FluentNavGroup will be collapsed by default. This is really annoying when you come from bookmarks or external links to your website.

Please see this video for a demonstration:
https://github.com/microsoft/fluentui-blazor/assets/32510006/cb3d385d-4de1-4a79-81cf-0232f2bc3a40

💻 Repro or Code Sample

I'Ve created a small sample repo. Simply click on Show weather in Home.razor

https://github.com/MarvinKlein1508/ExpandBugFluentUi

🤔 Expected Behavior

I would expect FluentNavGroup to be expaned when visiting /weater through the link on Home.razor

😯 Current Behavior

More is collapsed but the item underneith More has active classes.

🌍 Your Environment

.NET 8.0.6
Firefox latest version

@microsoft-github-policy-service microsoft-github-policy-service bot added the triage New issue. Needs to be looked at label Jun 3, 2024
@vnbaaij
Copy link
Collaborator

vnbaaij commented Jun 4, 2024

We have no notion of a 'parent/child' relationship in the current NavMenu. I don't see a way how we could do this at the moment.
Any ideas?

@vnbaaij vnbaaij added status:blocked Any issue blocked by another and removed triage New issue. Needs to be looked at labels Jun 4, 2024
@vnbaaij
Copy link
Collaborator

vnbaaij commented Jun 18, 2024

Closing this as we do not have a solution for this for the foreseeable future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:blocked Any issue blocked by another
Projects
None yet
Development

No branches or pull requests

2 participants