Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Links with anchor links not scrolling to anchor id section

Avatar

Level 2

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

3 Replies

Avatar

Community Advisor

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

Avatar

Level 6

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

Avatar

Level 2

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?