TOC Active State issue

Hey,

I’m having a problem with the Table of Contents (TOC) on my site. When two titles are visible at the same time and the gap between them is small, the TOC only tracks the active state for the bottom title, not the top one. This only happens when the gap is really small. How can I fix this?

Thanks!

Loom video
Page

Hey @analytics!

You could try playing with the offset. I see you already have 200px set as a value. I tried 20rem (320px if I’m not mistaken) and that seemed to work from my end.

However, if this fails on yours please let me know so I can open a bug report.