# Custom composer fullscreen issue

**URL:** https://meta.discourse.org/t/custom-composer-fullscreen-issue/380619
**Category:** Development
**Tags:** composer, customization
**Created:** [August 27, 2025, 9:50pm UTC](https://meta.discourse.org/t/custom-composer-fullscreen-issue/380619 "2025-08-27T21:50:25Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![saish](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saish/32/539116_2.png) [@saish](https://meta.discourse.org/u/saish)
#### Post date: [August 27, 2025, 9:50pm UTC](https://meta.discourse.org/t/custom-composer-fullscreen-issue/380619/1 "2025-08-27T21:50:26Z")

</div>

I created a custom composer using the `composer-fields` connector, which works as expected in the standard (docked) composer view. However, when switching to fullscreen mode, the customizations do not appear. I believe this is because the connector I used does not exist in the fullscreen composer template.

To address this, I attempted to use a `pluginOutlet` within a conditional block based on `composeState`, passing the `composer.model` through `outletArgs` with `lazyHash`. Unfortunately, this approach did not work. I also experimented with different connectors, but none of them produced the desired results.

If anyone has suggestions or best practices for resolving this issue, I would greatly appreciate the guidance.

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [August 27, 2025, 11:38pm UTC](https://meta.discourse.org/t/custom-composer-fullscreen-issue/380619/2 "2025-08-27T23:38:02Z")

</div>

Hi there, what kind of customization are you trying to do? If you’re adding buttons to the toolbar, consider [`api.onToolbarCreate()`](https://github.com/discourse/discourse/blob/22f8f6d307260c33a0995a2dee20b34ca7a8f512/app/assets/javascripts/discourse/app/lib/plugin-api.gjs#L986).

---

<div class="post-metadata">

### Author: ![saish](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saish/32/539116_2.png) [@saish](https://meta.discourse.org/u/saish)
#### Post date: [August 28, 2025, 5:05am UTC](https://meta.discourse.org/t/custom-composer-fullscreen-issue/380619/3 "2025-08-28T05:05:43Z")

</div>

I am adding a custom form within the `composer-fields` connector, which includes elements such as input fields, text areas, select options, and file uploads. In order to accommodate this, I have hidden the default `d-textarea-wrapper`.

---

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [August 28, 2025, 5:15am UTC](https://meta.discourse.org/t/custom-composer-fullscreen-issue/380619/4 "2025-08-28T05:15:39Z")

</div>

What about the `before-composer-fields` connector? Will that work? IIRC it stays even when the composer is in fullscreen.

---

<div class="post-metadata">

### Author: ![saish](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saish/32/539116_2.png) [@saish](https://meta.discourse.org/u/saish)
#### Post date: [August 28, 2025, 6:15am UTC](https://meta.discourse.org/t/custom-composer-fullscreen-issue/380619/5 "2025-08-28T06:15:51Z")

</div>

Yes, I believe this approach will work. However, the challenge is that I would need to recreate the entire composer. Currently, I am relying on the default category selector, which means I would also need to add it manually within the `before-composer-fields` connector, along with the other required elements.
