New Topic Header Button component: Category is not auto-detected

toad
Wed, 12 Nov 2025 14:05:33 +0000
Bug

The “New Topic Button” component does not automatically detect the category of the current topic when the button is clicked (e.g. on a page that is already in a topic).

This used to work.

In fact I can fix it by changing the code to move the button e.g. to timeline-controls-before (next to the spanner icon), or after-topic-footer-main-buttons (at the bottom with the other buttons). However with the official plugin with the button at the top, auto-detection of the category does not work.

I appreciate that moving the button to the top and making it always appear was intentional. But it appears to have broken the logic that finds the current topic.

For now we are maintaining our own fork which moves the buttons, and thereby fixes the problem.

Thanks!

6 сообщений - 4 участника