Skip to content

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

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

Closed
1 task done
marinasundstrom opened this issue Jul 24, 2023 · 1 comment
Closed
1 task done
Assignees
Labels
area-blazor Includes: Blazor, Razor Components bug This issue describes a behavior which is not expected - a bug. feature-full-stack-web-ui Full stack web UI with Blazor
Milestone

Comments

@marinasundstrom
Copy link

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

@ghost ghost added the area-blazor Includes: Blazor, Razor Components label Jul 24, 2023
@mkArtakMSFT mkArtakMSFT added the bug This issue describes a behavior which is not expected - a bug. label Jul 25, 2023
@mkArtakMSFT mkArtakMSFT added this to the 8.0-rc1 milestone Jul 25, 2023
@mkArtakMSFT mkArtakMSFT added the feature-full-stack-web-ui Full stack web UI with Blazor label Jul 25, 2023
@MackinnonBuck
Copy link
Member

This was fixed by #49238

@ghost ghost locked as resolved and limited conversation to collaborators Sep 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components bug This issue describes a behavior which is not expected - a bug. feature-full-stack-web-ui Full stack web UI with Blazor
Projects
None yet
Development

No branches or pull requests

3 participants