# Facebook-style Topic Modal - Is it better?

**URL:** https://meta.discourse.org/t/facebook-style-topic-modal-is-it-better/408565
**Category:** Development
**Created:** [July 27, 2026, 1:09am 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:** 32

<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: [August 8, 2026, 5:40pm UTC](https://meta.discourse.org/t/facebook-style-topic-modal-is-it-better/408565/32 "2026-08-08T17:40:09Z")

</div>

I’ve just added two new settings to make it much more flexible for custom layouts:

- **`trigger_style`** : Choose between making the entire topic row clickable (`row`) or adding a small expand icon (`button`) that opens the preview while leaving the normal topic link untouched.

- **`plugin_outlet`** : When using the button style, you can specify the exact plugin outlet where the expand icon is rendered (defaults to `topic-list-after-title`).

This allows custom themes to attach the trigger button to their own custom plugin outlets as needed.

I actually just activated this exact standalone component on my site. I completely removed my original code from my theme and replaced it with this component running via `<PluginOutlet />`.

Plus, I also fixed a bug with the read tracking functionality.

I’d like to test it in a live production environment for a short while to make sure everything is solid before open-sourcing it.

* * *

> By the way, I’ve temporarily switched the Theme Creator preview to the **button** trigger type for a short while so you can test!

---

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