Skip to content

SSR: internal a href links do not scroll to the top of the new page when clicked #53459

Open
@heron1

Description

@heron1

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

internal a href links do not scroll to the top of the new page when clicked in Blazor SSR

Expected Behavior

a href links scroll to the top of the new page when clicked

Steps To Reproduce

Put any <a href=..> link in a page, click it, and observe the new page does not scroll to the top.

Exceptions (if any)

No response

.NET Version

.NET 8

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-blazorIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.

    Type

    Projects

    Status

    8.0.x

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions