lingo.dev icon indicating copy to clipboard operation
lingo.dev copied to clipboard

Table of Contents (ToC) scroll Highlighting Not Working

Open dexterhere-2k opened this issue 1 month ago • 4 comments

The Table Of Contents (ToC) sidebar is not highlighting the active section as the user scrolls through the content . This is a common functionality in documentation websites , where the active section in the ToC should be highlighted as you scroll through the page .

Expected Behaviour: As the user scrolls through the page ,the ToC should update dynamically to highlight the section currently in view .This makes it easier for users to navigate the content and see their position.

Image

I’m interested in improving this part of the UI, can I take this up?

dexterhere-2k avatar Oct 29 '25 17:10 dexterhere-2k

Interested assign it to me

Aarushjain2401 avatar Oct 29 '25 17:10 Aarushjain2401

hi, please assign it to me as i can fix this issue

Vraj911 avatar Oct 29 '25 18:10 Vraj911

Hi @dexterhere-2k , Could you please assign this issue to me? I’ve implemented a similar ToC sidebar highlighting feature using IntersectionObserver for h1 and h2 elements in a recent project. I’m confident I can fix this efficiently.

neet18101 avatar Oct 29 '25 18:10 neet18101

Hi @dexterhere-2k I would like to contribute

affanraza84 avatar Oct 29 '25 20:10 affanraza84