# PM标记/标签在移动设备上不起作用

**URL:** https://meta.discourse.org/t/pm-tagging-tags-no-working-on-mobile/268787
**Category:** Bug
**Created:** [2023年六月18日 07:57 UTC](https://meta.discourse.org/t/pm-tagging-tags-no-working-on-mobile/268787 "2023-06-18T07:57:14Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![sok777](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@sok777](https://meta.discourse.org/u/sok777)
#### Post date: [2023年六月18日 07:57 UTC](https://meta.discourse.org/t/pm-tagging-tags-no-working-on-mobile/268787/1 "2023-06-18T07:57:14Z")

</div>

我注意到用于添加 PM 标签的 textarea/input 表单在移动设备上没有显示。

有什么解决方法吗？

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2023年六月18日 08:23 UTC](https://meta.discourse.org/t/pm-tagging-tags-no-working-on-mobile/268787/2 "2023-06-18T08:23:59Z")

</div>

嗯，是的，在创建消息时为 PM 添加标签似乎没有在移动端显示。🤔

但是，如果你创建了一条消息，然后编辑标题或 OP（主帖），标签输入框就会出现。

我会把这个问题转到 #Contribute > Bug 频道。👍

- 将一组（员工）添加到 `pm tags allowed for groups` 中
- 使用移动端创建一条 PM
- 编辑器中没有可用的标签选项
- 发送一条 PM
- 编辑 PM 的标题或 OP 后，标签选项就会出现

我期望在创建和编辑时都能显示标签选项

---

<div class="post-metadata">

### Author: ![sok777](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@sok777](https://meta.discourse.org/u/sok777)
#### Post date: [2023年六月18日 08:46 UTC](https://meta.discourse.org/t/pm-tagging-tags-no-working-on-mobile/268787/3 "2023-06-18T08:46:24Z")

</div>

谢谢！很高兴这有帮助，也谢谢你提供的变通方法。

---

<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: [2023年六月19日 16:50 UTC](https://meta.discourse.org/t/pm-tagging-tags-no-working-on-mobile/268787/4 "2023-06-19T16:50:11Z")

</div>

看起来这不是最近出现的回归问题，至少从 2022 年 8 月开始就是这样了：[FIX: Show tag chooser if can\_tag\_pms (#18107) · discourse/discourse@f351200 · GitHub](https://github.com/discourse/discourse/commit/f3512006838c026d87e37d34ddf4777861a86675)

您还记得这是出于可用性原因吗，@nbianca？

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [2023年六月22日 08:16 UTC](https://meta.discourse.org/t/pm-tagging-tags-no-working-on-mobile/268787/5 "2023-06-22T08:16:12Z")

</div>

我不记得全部上下文了，但我认为这是因为空间限制。对于 PM 来说，这可能会非常混乱，因为收件人、标题和标签也有输入。我认为布局发生了其他变化，因为它现在看起来可行：

> <https://github.com/discourse/discourse/pull/22241>
>
> This was not displayed on mobile due to space constraints. With better organizat…ion of the title, category and tags inputs, it can be displayed.
> 
> New topic with category and tag
> \<img width="789" alt="new-topic-with-category-and-tag" src="https://github.com/discourse/discourse/assets/23153890/64703b1a-b6a7-49b9-b361-d51d2eac2c85"\>
> 
> New topic with category
> \<img width="789" alt="new-topic-with-category" src="https://github.com/discourse/discourse/assets/23153890/1df86217-8445-492a-9ffd-7a039b72d409"\>
> 
> New PM with tag
> \<img width="789" alt="new-pm-with-tag" src="https://github.com/discourse/discourse/assets/23153890/b6b5ac71-6d0d-4d77-bf3c-6ad3f9a4ce36"\>

---

<div class="post-metadata">

### Author: ![sok777](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@sok777](https://meta.discourse.org/u/sok777)
#### Post date: [2023年六月22日 11:06 UTC](https://meta.discourse.org/t/pm-tagging-tags-no-working-on-mobile/268787/7 "2023-06-22T11:06:48Z")

</div>

@nbianca 我在提交列表中看不到它？

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [2023年六月22日 11:52 UTC](https://meta.discourse.org/t/pm-tagging-tags-no-working-on-mobile/268787/8 "2023-06-22T11:52:14Z")

</div>

PR 目前仍处于打开状态并正在审查中，但我预计它很快就会被合并。

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [2023年六月26日 17:13 UTC](https://meta.discourse.org/t/pm-tagging-tags-no-working-on-mobile/268787/9 "2023-06-26T17:13:22Z")

</div>

@sok777，我刚刚合并了此提交。您可以更新您的实例，将获得修复。感谢您的耐心等待！

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2023年七月1日 07:00 UTC](https://meta.discourse.org/t/pm-tagging-tags-no-working-on-mobile/268787/10 "2023-07-01T07:00:20Z")

</div>

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