Botón de nuevo tema: la categoría no se detecta automáticamente

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!

3 Me gusta

@martin One for us to pick up I think.

2 Me gusta

Sorry but I am unable to reproduce, see the video below:

If I am in a category page, or in a topic with a specific category, the new topic header button picks up the category correctly.