# 取消帖子或更改回复到不同主题时缺少取消按钮

**URL:** <https://meta.discourse.org/t/lack-of-cancel-button-when-canceling-post-or-changing-reply-to-a-different-topic/133645>\
**Category:** Feature\
**Created:** [2019 年11 月 18 日 03:13 UTC](https://meta.discourse.org/t/lack-of-cancel-button-when-canceling-post-or-changing-reply-to-a-different-topic/133645 "2019-11-18T03:13:28Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![seanblue](https://avatars.discourse-cdn.com/v4/letter/s/dc4da7/32.png) [@seanblue](https://meta.discourse.org/u/seanblue)\
发布日期： [2019 年11 月 18 日 03:13 UTC](https://meta.discourse.org/t/lack-of-cancel-button-when-canceling-post-or-changing-reply-to-a-different-topic/133645/1 "2019-11-18T03:13:28Z")

</div>

复现步骤：

1. 开始回复某个主题（或帖子）。
2. 导航到另一个主题。
3. 点击回复按钮（回复主题或帖子）。  
或者  
点击取消按钮。

此时会出现以下弹窗：

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/f/5fb3b80f6a9f8798f48104a7bb78a9028d97d8d4.png)

* * *

点击“是，放弃”会删除草稿、清空回复框，并更改回复目标（如果您点击的是“取消”，则会关闭回复框）。点击“否，保存草稿”会保留草稿，但仍会清空回复框并更改回复目标（如果您点击的是“取消”，则会关闭回复框）。

点击“否，保存草稿”时的这种行为是否属于缺陷？我将此主题发布在 #Contribute > Feature 中，因为我不确定这是否是有意为之。如果不是，我认为这是一个缺陷。如果是有意为之，我认为这种方法存在严重的可用性问题。理想情况下，当您点击新的回复目标时，系统应自动重新定位草稿（就像在同一主题内点击新的回复目标时一样）。但最起码，应该提供一种取消操作的方式。目前，一旦对话框打开，如果您不希望清空回复框，唯一能取消操作的方法是按下 ESC 键，但这在移动设备上显然无效。点击对话框外部也无法取消操作，而且没有可用的 `X` 或“取消”按钮。

---

_[View the full topic](https://meta.discourse.org/t/lack-of-cancel-button-when-canceling-post-or-changing-reply-to-a-different-topic/133645)._
