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

Anchor link issue when including an #element-id #396

Open
Laderlappen opened this issue Jul 26, 2023 · 0 comments
Open

Anchor link issue when including an #element-id #396

Laderlappen opened this issue Jul 26, 2023 · 0 comments

Comments

@Laderlappen
Copy link

Anchor links do not scroll to the desired element after routing from another page.

This issue was found on a project that has a shared header. In the header there is a "Teams" link that should go to the /about-us#team section. When I'm on a different page (Not the about us page) then that link goes to /about-us (The #teams gets discarded).
It does work correctly if I'm on the about-us page already or if I open the link in a new tab.
The issue was discussed in this thread: https://elmlang.slack.com/archives/CNSNETV37/p1690362362232329

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant