I was writing or editing a message in the chat.
I wanted to do something else, and I pressed escape without even thinking, expecting it would unfocus the input.
Instead, it closed the chat, and I didn’t even remember in which personal chat or channel I was writing or editing my message.
I propose that pressing esc would unfocus the input, and would close the chat only if the input isn’t focused or empty.
If we open the post composer, if we press esc while the content is empty, it closes the composer.
If we press esc, it minimizes the composer, leaving it still noticeable and available to continue writing.
So maybe having some sort of similiar behavior on the chat could be nice?