Skip to content
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

Blazor Server-side and Named Anchors #23476

Closed
mrlife opened this issue Jun 29, 2020 · 1 comment
Closed

Blazor Server-side and Named Anchors #23476

mrlife opened this issue Jun 29, 2020 · 1 comment
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Duplicate Resolved as a duplicate of another issue investigate Status: Resolved
Milestone

Comments

@mrlife
Copy link
Contributor

mrlife commented Jun 29, 2020

I created a test project with the following in Index.razor. Clicking the link does not honor the named anchor and scroll to the <div>. Adding the same code to a Razor Pages app works as expected. Are named anchors supported at this time?

in Index.razor

<a href="#anchor-link">Named Anchor Link</a>

@* a lot of content *@

<div id="anchor-link">Named Anchor Div</div>
@Pilchie Pilchie added the area-blazor Includes: Blazor, Razor Components label Jun 29, 2020
@mkArtakMSFT mkArtakMSFT added this to the Next sprint planning milestone Jun 30, 2020
@mkArtakMSFT
Copy link
Member

Thanks for contacting us. This is a dupe of #8393

@mkArtakMSFT mkArtakMSFT added the ✔️ Resolution: Duplicate Resolved as a duplicate of another issue label Jun 30, 2020
@ghost ghost added the Status: Resolved label Jun 30, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Jul 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components ✔️ Resolution: Duplicate Resolved as a duplicate of another issue investigate Status: Resolved
Projects
None yet
Development

No branches or pull requests

3 participants