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

Navigating to a unexpected page of documentation when clicking a navbar item #11263

Open
nikhilrawal opened this issue Oct 11, 2024 · 0 comments
Labels
infra.structure Relates to the tools that create docs.flutter.dev

Comments

@nikhilrawal
Copy link
Contributor

Describe the problem

Let me explain the issue directly with an example.

Assume we are in 'LearnFlutter/LearnTheFundamentals/Layouts' page of documentation as shown in picture below.

image01

Now if we hover over the 'UserInterface/Interactivity' item and right click with mouse on it, we get the following options as shown in picture.

image02

Now if I click open in new tab, I again get the duplicate page of 'LearnFlutter/LearnTheFundamentals/Layouts' as the new page as shown below.

image03

But I expect to get pushed to maybe first item under 'UserInterface/Interactivity', as show below.

image04

Expected fix

Update the destination link for parent widget of nav.items to first nav.item by default.
If you are making it available for secondary click you should provide the respective link to which it should get redirected to.
I am beginner so I may not be able provide correct insights. I welcome the reader to give views on this further.

On which platform(s) did you experience this issue?

Windows

Additional context

No response

@nikhilrawal nikhilrawal added the infra.structure Relates to the tools that create docs.flutter.dev label Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra.structure Relates to the tools that create docs.flutter.dev
Projects
None yet
Development

No branches or pull requests

1 participant