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 tags are not working in Chrome on first load #243

Open
Woodz opened this issue Jul 10, 2021 · 0 comments
Open

Anchor tags are not working in Chrome on first load #243

Woodz opened this issue Jul 10, 2021 · 0 comments

Comments

@Woodz
Copy link

Woodz commented Jul 10, 2021

Reproduction:

Expected: Website jumps to anchor (concat in this example)
Actual: Website stays on the top of the page

Note that anchor tags work correctly after the page has been loaded, i.e. clicking on an anchor link will scroll the screen to position it at the top and change the URL. I suspect that the lodash website may have delayed rendering which breaks the anchor links on load. Perhaps a workaround like https://stackoverflow.com/a/38588927/323177 could work? Or deferring rendering until all components are available?

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

No branches or pull requests

1 participant