# 새 주제 헤더 버튼 컴포넌트: 카테고리가 자동으로 감지되지 않음

**URL:** https://meta.discourse.org/t/new-topic-header-button-component-category-is-not-auto-detected/388254
**Category:** Bug
**Tags:** new-topic-header-button, fixed
**Created:** [11월 12, 2025, 2:05오후 UTC](https://meta.discourse.org/t/new-topic-header-button-component-category-is-not-auto-detected/388254 "2025-11-12T14:05:33Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![toad](https://avatars.discourse-cdn.com/v4/letter/t/8c91f0/32.png) [@toad](https://meta.discourse.org/u/toad)
#### Post date: [11월 12, 2025, 2:05오후 UTC](https://meta.discourse.org/t/new-topic-header-button-component-category-is-not-auto-detected/388254/1 "2025-11-12T14:05:33Z")

</div>

“새 주제 버튼” 컴포넌트는 버튼이 클릭될 때 현재 주제의 카테고리를 자동으로 감지하지 않습니다(예: 이미 주제에 있는 페이지에서).

이전에는 이 기능이 정상적으로 작동했습니다.

실제로 코드를 수정하여 버튼을 timeline-controls-before(렌치 아이콘 옆)이나 after-topic-footer-main-buttons(하단의 다른 버튼들 옆)로 이동시키면 문제를 해결할 수 있습니다. 그러나 공식 플러그인에서 버튼을 상단에 배치하면 카테고리의 자동 감지가 작동하지 않습니다.

버튼을 상단으로 이동시키고 항상 표시되도록 한 것은 의도된 변경 사항임을 이해하고 있습니다. 하지만 이로 인해 현재 주제를 찾는 로직이 깨진 것으로 보입니다.

현재로서는 버튼을 이동시켜 문제를 해결한 자체 포크를 유지하고 있습니다.

감사합니다!

---

_[View the full topic](https://meta.discourse.org/t/new-topic-header-button-component-category-is-not-auto-detected/388254)._
