# Escape key when writing on the chat: unfocus the input instead of closing the chat?

**URL:** <https://meta.discourse.org/t/escape-key-when-writing-on-the-chat-unfocus-the-input-instead-of-closing-the-chat/266312>\
**Category:** Feature\
**Tags:** chat, completed\
**Created:** [May 26, 2023, 11:48am UTC](https://meta.discourse.org/t/escape-key-when-writing-on-the-chat-unfocus-the-input-instead-of-closing-the-chat/266312 "2023-05-26T11:48:16Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [May 26, 2023, 4:49pm UTC](https://meta.discourse.org/t/escape-key-when-writing-on-the-chat-unfocus-the-input-instead-of-closing-the-chat/266312/5 "2023-05-26T16:49:07Z")

</div>

That should do it

[https://github.com/discourse/discourse/pull/21772](https://github.com/discourse/discourse/pull/21772)

Thanks 👍

---

_[View the full topic](https://meta.discourse.org/t/escape-key-when-writing-on-the-chat-unfocus-the-input-instead-of-closing-the-chat/266312)._
