Skip to content

Enhanced navigation is not triggered by links in interactive components #49614

Closed
@marinasundstrom

Description

@marinasundstrom

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Enhanced navigation is not triggered by links in interactive components. Links are not intercepted, and it causes navigation to page.

It might no be a big deal. But should this be consistent across the render modes?

Expected Behavior

No response

Steps To Reproduce

Having a page marked with @attribute [RenderModeServer], with a link to a non-interactive server-side rendered page.

  1. Run the app and navigate to the page.
  2. Launch the browser's Dev Tools.
  3. Click the link.

In Dev Tools, you will see that the page was loaded in the "Doc" tab - not in "Fetch/XHR" as with enhanced navigation.

Exceptions (if any)

No response

.NET Version

8.0.100-preview.6.23330.14

Anything else?

No response

Metadata

Metadata

Assignees

Labels

area-blazorIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.feature-full-stack-web-uiFull stack web UI with Blazor

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions