Category navigation wrong CSS on refresh

When I navigate to a category, it typically looks like this:

But I updated to beta9 today and even though the normal version shows up when I navigate to it, if I refresh the page, the boxes are not properly styled:

This happens because the .select-kit-header and the d-icon are losing their inline style property:

CleanShot 2022-08-11 at 14.24.17

I’m also seeing this error in the console, but I don’t know if it’s related (I’m on desktop and it also appears on the initial navigation, when things look normal): Uncaught (in promise) ReferenceError: Cannot access ‘hideMobile’ before initialization


Do you have the Discourse Tag Banners component installed? I recognize that ‘hideMobile’ error from that… if you update the component that should go away (if it doesn’t, let us know!).


Hi Kris,

I don’t and all my components are updated. These are the ones I have:

  • Add Group CSS classes
  • Category Headers theme component
  • Custom Header Links
  • DiscoTOC
  • Mobile Category List Adjustments
  • Topic Thumbnails

Ah perhaps it’s this one, it has something similar here:

If you temporarily disable the category headers component, does that error go away? (and if it does, is the category dropdown issue fixed?)


Yes, it goes away and the issue is fixed.