Links with anchor links not scrolling to anchor id section | Community
Skip to main content
Level 2
February 23, 2023

Links with anchor links not scrolling to anchor id section

  • February 23, 2023
  • 2 replies
  • 1948 views

Suddenly our links that include anchor links (see example below) are no longer taking the user down to the content, yet those same links in the sticky nav are working. We're using AEM 6.5.12. Any ideas what could cause this?

 

Example link (not a real page):

https://www.thisisjustatestexample.com/case-studies/soccer-gear.html#coaching

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Umesh_Thakur
Community Advisor
Community Advisor
February 24, 2023

this is purely an UI issue, your UI developer can answer it better but AEM perspective, you can just see the clientlibs for the same is available or not? your component, tho which you wanted to go down, have the unique identifier or not ?

Finally will try in icognito if any caching issue.

Hope this helps

Umesh Thakur

kaikubad
Community Advisor
Community Advisor
February 24, 2023

we had the same issue. After a long investigation we found that one of our js was blocking this.

Normally its a default behavior of browser that it will take you to the section- witch id is on the url.

Check your js

kayestAuthor
Level 2
February 24, 2023

Thanks. That's what we're thinking is happening. Do you happen to remember any more details about how you discovered the cause of the issue?