-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
On-page Anchor Tags Not Working for "Jumping" around the page. #17588
Comments
@kevingates thanks for contacting us. Could you provde a minimal repro project that illustrates this issue? |
I' think this is a legitimate bug. I can't pinpoint the root cause yet, but I observe a difference in behavior between Blazor and plain HTML. We might need to programatically navigate to an anchor (althought not sure if that's possible). The interesting thing is that navigating to the bottom of the page works, but navigating to the top doesn't. |
@mkArtakMSFT Can you move this somewhere where it will get triaged and prioritized again? |
Thanks for contacting us, @kevingates. |
Describe the bug
On page anchor tags used for jumping around on a single page (example: FAQ Questions at the top, to jump to the Question and its Answer lower on the page) do not work as expected.
To Reproduce
I'm using anchor tags for onsite navigation (think FAQ,). I want to jump down to a section and back up. And one of them works and the other doesn't
Something like this:
Essentially the bottom link works, but the top doesn't. For context, the bottom one is conditionally loaded (if aggregate disbursements are present.)
However, HTML should work to find something with the ID and just jump to that location. But currently I think Blazor is intercepting this behavior.
The text was updated successfully, but these errors were encountered: