MudBlazor / MudBlazor

Blazor Component Library based on Material design with an emphasis on ease of use. Mainly written in C# with Javascript kept to a bare minimum it empowers .NET developers to easily debug it if needed.
http://mudblazor.com
MIT License
7.21k stars 1.18k forks source link

MudPageContentNavigation stops working after clicking on the first element #8784

Closed Dariusvne closed 1 week ago

Dariusvne commented 3 weeks ago

Bug type

Component, Docs (mudblazor.com)

Component name

MudPageContentNavigation

What happened?

image In the image above the bug is visible, the page is way past the api section but the nav menu is left behind.

Expected behavior

The nav menu does not stop working after clicking on the first element.

Reproduction link

No need, it is clearly visible within the docs

Reproduction steps

  1. Go to anything within the mudblazor docs which has a navmenu on the side (example:)
  2. Click the first element in the nav menu.
  3. Scroll down and see the contents being left behind. ...

Relevant log output

No response

Version (bug)

6.19.1

Version (working)

No response

What browsers are you seeing the problem on?

Chrome

On which operating systems are you experiencing the issue?

Windows

Pull Request

Code of Conduct

danielchalmers commented 3 weeks ago

Do you see the same at https://dev.mudblazor.com?

cc @epithet

ScarletKuro commented 3 weeks ago

The https://github.com/MudBlazor/MudBlazor/pull/8711 fixed it Tho you never can activate the first item even if it's clicked.

epithet commented 2 weeks ago

The #8711 fixed it Tho you never can activate the first item even if it's clicked.

@ScarletKuro The first item can be activated if the first section is big enough that it can be activated by scrolling to it. It's like this because the section nearest to the middle of the page is activated. This could be changed in several ways:

In any case, I personally don't see a way to fix the previous behavior

ScarletKuro commented 1 week ago

I'm closing this, as it was fixed in v7.