Moin
January 30, 2025, 12:51pm
1
Continuing the discussion from AI helper is hiding. Again :
The helpers for choosing title, category, and tags still appear behind the composer for me.
Tablet - Chrome/Firefox - Android
4 Likes
Jagster
(Jakke Lehtonen)
January 30, 2025, 3:01pm
3
How about iPad… nope. This time iPad is happy.
3 Likes
pmusaraj
(Penar Musaraj)
January 30, 2025, 6:06pm
4
Thanks @Moin , I’ve got a possible fix ready , but this may need a slightly better refactor, will hand this over to @keegan and he’ll follow up.
4 Likes
keegan
(Keegan George)
January 30, 2025, 8:00pm
6
I got a follow-up PR ready in core, which adds a flag to DMenu to prevent these types of issues from re-occurring:
discourse:main ← discourse:d-menu-composer-flag
opened 07:41PM - 30 Jan 25 UTC
### :mag: Overview
This update adds a new option to the `DMenu` options called … `insideComposer`. This is to be used when instantiating a new menu inside the composer. Adding this flag will ensure that the menu has an adequate `z-index`, and thus shown to the user without any issues.
### ➕ More details
This will help each use-case from adding workarounds. For example, in Discourse AI we have been using various [workarounds](https://github.com/discourse/discourse-ai/pull/1102) to ensure that the `DMenu` is shown correctly. These can now be safely removed.
### ✍🏽 Usage
#### When invoking `DMenu` as a component in the template:
```diff
<DMenu
@identifier="foo"
@inline={{true}}
+ @insideComposer={{true}}
@content="content"
/>
```
#### When invoking `DMenu` as a service:
```diff
const menu = api.container.lookup("service:menu");
menu.show(document.querySelector(".foo-menu"), {
identifier: "foo-menu",
component: FooMenu,
interactive: true,
+ insideComposer: true,
data: {...},
});
```
Once that’s merged, I’ll revisit and follow-up in the AI plugin.
5 Likes
Moin
August 30, 2025, 4:42pm
10
The category and tag helper are hidden behind the composer again
The one for the title works fine
2 Likes
sam
(Sam Saffron)
August 31, 2025, 11:35pm
11
Thanks @Moin ! We will have a look, z-index is the worst.
1 Like
Moin
November 3, 2025, 10:11pm
13
Any update on this?
I noticed it again today when I wanted to take a screenshot showing that the AI helper suggests tags that I am not allowed to use (pr-welcome ).
1 Like
sam
(Sam Saffron)
November 4, 2025, 1:15am
14
Yikes, sorry it is still prioritised should not be too long