CMS Development

RWhite27
Participant

Linking to an off-page anchor works but then jumps to the top

I'm linking to a request form on another page in the navigation of my site. So the link is to mysite.com/page#req-form. When you click on it, it goes to the correct anchor point for a split second, but then it jumps to the top of the page.

I've noticed a similar issues on another site I have at HubSpot. When loading any page and beginning to scroll down - the page jumps back up to the top and I have to begin scrolling again. Not sure if it's related, but I'd love to figure out how to stop that.

0 Upvotes
1 Reply 1
Jaycee_Lewis
Community Manager
Community Manager

Linking to an off-page anchor works but then jumps to the top

Hey, @RWhite27  👋 Can you give the community a link to a live example? My experience says having more info will increase our chances of getting a quality answer from the community 😊

 

Best,

Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot