# Facebook風トピックモーダル - これは良い？

**URL:** <https://meta.discourse.org/t/facebook-style-topic-modal-is-it-better/408565>\
**Category:** Development\
**Created:** [2026 年 7 月 27 日午前 1:09 UTC](https://meta.discourse.org/t/facebook-style-topic-modal-is-it-better/408565 "2026-07-27T01:09:55Z")\
**Posts on this page:** 1\
**Showing post:** 23

<div class="post-metadata">

**Author:** ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)\
**Post date:** [2026 年 8 月 7 日午後 1:05 UTC](https://meta.discourse.org/t/facebook-style-topic-modal-is-it-better/408565/23 "2026-08-07T13:05:14Z")

</div>

こんにちは 👋

もちろんです、ぜひ！当初、この機能は自分のカスタムテーマに直接組み込んでいたので、それを抽出して独立したテーマコンポーネントに分割する必要がありました。

自分のサイトでは、専用のボタンでモーダルをトリガーしていますが、このテーマコンポーネントではトピックをクリックしたときに直接トリガーされます。

Theme Creatorで試してみてください：

> **['Topic Preview Modal' by @Don](https://discourse.theme-creator.io/theme/Don/topic-modal)**
>
> A customization for Discourse shared on Discourse Theme Creator

---

_[View the full topic](https://meta.discourse.org/t/facebook-style-topic-modal-is-it-better/408565)._
