website icon indicating copy to clipboard operation
website copied to clipboard

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

Open nikhilrawal opened this issue 1 year ago • 1 comments

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 avatar Oct 11 '24 16:10 nikhilrawal