Gatsby Anchor Position #37977
groupitdevelopers
started this conversation in
Community
Replies: 1 comment
-
Example page: https://uatskypointmain.gatsbyjs.io/visit/#opening_hours |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am using "gatsby-plugin-anchor-links" and it is working good when I am on the page and scrolling anchor position.
Example:
When I am in "/visit" page then "/visit/#getting_here" working good.
But it is not working when I am on different page.
Example:
When I am on "/" then "/visit/#getting_here" not working. Going to "/visit" page and scrolling to wrong position.
When I testing and I saw the "getting_here" section offsetTop is wrong when page loading.
Can you help me?
Beta Was this translation helpful? Give feedback.
All reactions