# Discourse Category Headers theme component

**URL:** <https://meta.discourse.org/t/discourse-category-headers-theme-component/148682>\
**Category:** Theme component\
**Created:** [April 21, 2020, 1:02am UTC](https://meta.discourse.org/t/discourse-category-headers-theme-component/148682 "2020-04-21T01:02:59Z")\
**Posts on this page:** 1\
**Showing post:** 171

<div class="post-metadata">

**Author:** ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)\
**Post date:** [October 24, 2025, 3:27am UTC](https://meta.discourse.org/t/discourse-category-headers-theme-component/148682/171 "2025-10-24T03:27:42Z")

</div>

When the **full category description** is showing, I also encounter this on Theme Creator and on my dev instance. I’m looking into it. I suspect it’s because the route changes but the tracked variable does not.

UPDATE: I have added an expand/collapse functionality for category descriptions here. @nathank Also fixed the bug in:  
[https://github.com/naidihr/discourse-category-headers/pull/22](https://github.com/naidihr/discourse-category-headers/pull/22)

With a little nudge from Ask Discourse for using `willDestroy` with the router service.

---

_[View the full topic](https://meta.discourse.org/t/discourse-category-headers-theme-component/148682)._
