# Delete draft when escape is pressed with completely empty topic

**URL:** https://meta.discourse.org/t/delete-draft-when-escape-is-pressed-with-completely-empty-topic/150807
**Category:** UX
**Created:** [May 8, 2020, 10:51am UTC](https://meta.discourse.org/t/delete-draft-when-escape-is-pressed-with-completely-empty-topic/150807 "2020-05-08T10:51:54Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [May 8, 2020, 10:13pm UTC](https://meta.discourse.org/t/delete-draft-when-escape-is-pressed-with-completely-empty-topic/150807/3 "2020-05-08T22:13:17Z")

</div>

I believe this is connected to this other recent topic, also talking about the behavior when cancelling the composer after writing very little:

> [@Draft is not being saved when creating a new PM](https://meta.discourse.org/t/draft-is-not-being-saved-when-creating-a-new-pm/149990/6):
>
> Indeed. Thanks for following up. That pushed me to dig deeper. It looks like it might have to do with timing. If you only enter “Hello” into the title line of the PM and stop, a draft will be saved white_check_markIf you only enter “Hello” into the textarea of the PM and stop, a draft will be saved white_check_markIf you enter “Hello” into the title line of the PM and then immediately enter “Hello” into the textarea, no draft is saved xIf you enter “Hello” into the textarea of t…

And this topic from 2017, where the behavior for “Titles will be saved in a draft even if there’s no body” was actually added:

> [@If title has been added, composer should only be minimised, not terminated](https://meta.discourse.org/t/if-title-has-been-added-composer-should-only-be-minimised-not-terminated/74591/10):
>
> This is done. Titles will be saved in a draft even if there’s no body.

So we have conflicting requests here, and need some way to determine whether the composer content is meaningful enough to:

- save a draft vs wait for more words
- minimize vs terminate composer

@tshenry initially thought that the `min topic title length` was consulted, but it is not. Sometimes people put a lot of effort into choosing tags. I don’t currently have a proposal for coherent and understandable behavior.

@sam, how much progress did you make on that other topic?

* * *

As a first pass, “save draft / minimize” and “don’t save / terminate” should probably be the only possible behaviors here. Unless we need to allow for “save draft / terminate” - likely only through a dialog box.

---

_[View the full topic](https://meta.discourse.org/t/delete-draft-when-escape-is-pressed-with-completely-empty-topic/150807)._
