# Table of Contents Auto Collapse Not Working

**URL:** <https://forum.finsweet.com/t/table-of-contents-auto-collapse-not-working/1098>\
**Category:** Attributes\
**Created:** [June 22, 2023, 8:34pm UTC](https://forum.finsweet.com/t/table-of-contents-auto-collapse-not-working/1098 "2023-06-22T20:34:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PHD](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/phd/32/5822_2.png) [@PHD](https://forum.finsweet.com/u/PHD)\
**Post date:** [June 22, 2023, 8:34pm UTC](https://forum.finsweet.com/t/table-of-contents-auto-collapse-not-working/1098/1 "2023-06-22T20:34:26Z")

</div>

I have a TOC in a CMS blog sidebar. As you scroll down the page, the H2 links expand to show the H3s within, but then they don’t auto collapse as you keep scrolling. Any help?

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [June 23, 2023, 12:59am UTC](https://forum.finsweet.com/t/table-of-contents-auto-collapse-not-working/1098/2 "2023-06-23T00:59:24Z")

</div>

hey @PHD can you please share your links?
