Moin
30 januari 2025 om 12:51
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)
30 januari 2025 om 15:01
3
How about iPad… nope. This time iPad is happy.
3 likes
pmusaraj
(Penar Musaraj)
30 januari 2025 om 18:06
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)
30 januari 2025 om 20:00
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
30 augustus 2025 om 16:42
10
The category and tag helper are hidden behind the composer again
The one for the title works fine
2 likes
sam
(Sam Saffron)
31 augustus 2025 om 23:35
11
Bedankt @Moin ! We zullen ernaar kijken, z-index is het ergste.
1 like
Moin
3 november 2025 om 22:11
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)
4 november 2025 om 01:15
14
Yikes, sorry it is still prioritised should not be too long
manuel
(Manuel Kostka)
12 november 2025 om 17:44
17
4 likes