# 隐藏在Android平板电脑上的AI助手

**URL:** https://meta.discourse.org/t/ai-helper-hiding-on-android-tablets/349719
**Category:** Bug
**Tags:** ai, ai-helper, tablet
**Created:** [2025年一月30日 12:51 UTC](https://meta.discourse.org/t/ai-helper-hiding-on-android-tablets/349719 "2025-01-30T12:51:03Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2025年一月30日 12:51 UTC](https://meta.discourse.org/t/ai-helper-hiding-on-android-tablets/349719/1 "2025-01-30T12:51:03Z")

</div>

继续讨论 [AI 助手又不见了](https://meta.discourse.org/t/ai-helper-is-hiding-again/348481)：

为我选择标题、类别和标签的助手仍然出现在撰写器后面。

 ![Screenshot_20250130_134841_Chrome](https://global.discourse-cdn.com/meta/original/4X/1/3/f/13f594b4f5083fb30931ca59f9715b1198aa662c.jpeg)

平板电脑 - Chrome/Firefox - Android

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [2025年一月30日 15:01 UTC](https://meta.discourse.org/t/ai-helper-hiding-on-android-tablets/349719/3 "2025-01-30T15:01:11Z")

</div>

iPad怎么样……不。这次iPad很开心。

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [2025年一月30日 18:06 UTC](https://meta.discourse.org/t/ai-helper-hiding-on-android-tablets/349719/4 "2025-01-30T18:06:32Z")

</div>

感谢 @Moin，我已经准备好了一个[可能的修复方案](https://github.com/discourse/discourse-ai/pull/1102)，但这可能需要一个更好的重构，我会把它交给 @keegan，他会跟进。

---

<div class="post-metadata">

### Author: ![keegan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/keegan/32/383395_2.png) [@keegan](https://meta.discourse.org/u/keegan)
#### Post date: [2025年一月30日 20:00 UTC](https://meta.discourse.org/t/ai-helper-hiding-on-android-tablets/349719/6 "2025-01-30T20:00:12Z")

</div>

核心中已准备好一个后续 PR，它为 `DMenu` 添加了一个标志，以防止此类问题再次发生：

> <https://github.com/discourse/discourse/pull/31076>
>
> \### :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: {...},
> });
> \`\`\`

合并后，我将重新审视并跟进 AI 插件。

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [2025年二月14日 22:06 UTC](https://meta.discourse.org/t/ai-helper-hiding-on-android-tablets/349719/8 "2025-02-14T22:06:03Z")

</div>



---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [2025年八月30日 16:40 UTC](https://meta.discourse.org/t/ai-helper-hiding-on-android-tablets/349719/9 "2025-08-30T16:40:17Z")

</div>



---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2025年八月30日 16:42 UTC](https://meta.discourse.org/t/ai-helper-hiding-on-android-tablets/349719/10 "2025-08-30T16:42:28Z")

</div>

类别和标签助手再次隐藏在编辑器后面

 ![Screenshot_20250830_183640_Firefox](https://global.discourse-cdn.com/meta/original/4X/4/e/0/4e028a7a8cf56f4ddaa80bfa8e589bd2ab728bfe.jpeg)  
 ![Screenshot_20250830_183604_Firefox](https://global.discourse-cdn.com/meta/original/4X/9/c/0/9c08771c912e5df6fc855e3fa12e6f852278c723.jpeg)

标题的那个可以正常工作

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2025年八月31日 23:35 UTC](https://meta.discourse.org/t/ai-helper-hiding-on-android-tablets/349719/11 "2025-08-31T23:35:55Z")

</div>

谢谢 @Moin！我们会看看的，z-index 是最糟糕的。

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [2025年十一月3日 22:11 UTC](https://meta.discourse.org/t/ai-helper-hiding-on-android-tablets/349719/13 "2025-11-03T22:11:11Z")

</div>

有关于此的更新吗？  
我今天再次注意到，当我想要截取一张显示 AI 助手建议我无法使用的标签的屏幕截图时。

 ![Screenshot_20251103_230006_Firefox](https://global.discourse-cdn.com/meta/original/4X/1/a/7/1a74c11d0a80787a5158bf872af000d0df826a1d.jpeg)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2025年十一月4日 01:15 UTC](https://meta.discourse.org/t/ai-helper-hiding-on-android-tablets/349719/14 "2025-11-04T01:15:19Z")

</div>

哎呀，抱歉，它仍然被优先处理，应该不会太久。

---

<div class="post-metadata">

### Author: ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)
#### Post date: [2025年十一月12日 17:44 UTC](https://meta.discourse.org/t/ai-helper-hiding-on-android-tablets/349719/17 "2025-11-12T17:44:04Z")

</div>

感谢您的反馈，@Moin

应该已通过 [FIX: Align z-index for ai-helper modals by nolosb · Pull Request #35966 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/35966) 修复

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [2025年十二月6日 11:00 UTC](https://meta.discourse.org/t/ai-helper-hiding-on-android-tablets/349719/19 "2025-12-06T11:00:17Z")

</div>

此主题已在 3 天后自动关闭。不再允许回复。
